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

Don't allow comma in the scheme #8

Merged
merged 3 commits into from
Sep 13, 2019

Conversation

andybelltree
Copy link
Contributor

@andybelltree andybelltree commented Sep 12, 2019

I noticed a bug that allows commas in the scheme. The test I've added would pass before this change.

The reason for this is the "+-." is interpreted as "Any character between + and ." which includes commas.

@andybelltree andybelltree changed the title Fix commas in schema Fix commas in scheme Sep 12, 2019
@sindresorhus sindresorhus changed the title Fix commas in scheme Don't allow comma in the scheme Sep 13, 2019
@sindresorhus sindresorhus merged commit 6fcdcd1 into sindresorhus:master Sep 13, 2019
@sindresorhus
Copy link
Owner

Thanks for catching this :)

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