Skip to content

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

Merged
Julian merged 1 commit intojson-schema-org:masterfrom
ChALkeR:chalker/format-uri
Aug 3, 2020
Merged

Test that uri format scheme is validated for allowed chars#419
Julian merged 1 commit intojson-schema-org:masterfrom
ChALkeR:chalker/format-uri

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