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

Fix a duplicate character in the urlSafeCharacters list #10

Merged
merged 4 commits into from
Jun 17, 2019

Conversation

stroncium
Copy link
Contributor

@stroncium stroncium commented Jun 17, 2019

Correct url safe characters list.

Added tests against the issue. They are probabilistic and sometimes can give false negative, but if my math is correct it is unexpected to happen in lifetime of universe.

Fixes #9

@sindresorhus sindresorhus changed the title Correct url safe characters list Fix a duplicate character in the urlSafeCharacters list Jun 17, 2019
@sindresorhus sindresorhus merged commit 3c4424b into sindresorhus:master Jun 17, 2019
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.

There are two "j" characters in the "urlSafeCharacter" variable in "index.js".
2 participants