Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test that uri format scheme is validated for allowed chars #419

Merged
merged 1 commit into from
Aug 3, 2020

Conversation

ChALkeR
Copy link
Member

@ChALkeR ChALkeR commented Jul 20, 2020

This is simple to implement.

scheme      = ALPHA *( ALPHA / DIGIT / + / - / . )

In optional, together will all the rest invalid uri validation.

Comma because this is specifically targeting [a-z0-9+-.] mistype (which can happen if one just copies the chars from the spec in order into a regex), which should be [a-z0-9+\-.], and the only difference is the comma.

This is simple to implement.

scheme      = ALPHA *( ALPHA / DIGIT / + / - / . )
ChALkeR added a commit to ChALkeR/is-my-json-valid that referenced this pull request Jul 22, 2020
ChALkeR added a commit to ChALkeR/ajv that referenced this pull request Jul 22, 2020
ChALkeR added a commit to ChALkeR/ajv-formats that referenced this pull request Jul 22, 2020
ChALkeR added a commit to ChALkeR/ajv-formats that referenced this pull request Jul 22, 2020
ChALkeR added a commit to ChALkeR/ajv that referenced this pull request Jul 22, 2020
@Julian
Copy link
Member

Julian commented Jul 28, 2020

lgtm thanks (and you have merge rights in a second)!

@Julian Julian merged commit 85f0d45 into json-schema-org:master Aug 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants