-
Notifications
You must be signed in to change notification settings - Fork 47
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
decode URL values #17
Comments
Does this Example
This decodes to:
I'd argue that's wrong. It should be |
Alex is right, any encoded url containing a + symbol now gets turned into a space instead of being a plus. "?username=wes%2b%2b" username is "wes++" not "wes ". In the code path, you've already decodedURIComponents once when you call __decode. |
Glad it's not just me :) |
Anyone want to suggest a fix? On May 2, 2014, at 12:26 AM, Alexander Dickson [email protected] wrote:
|
I'll have a shot at a PR over the weekend. |
Resolution to issue #17, plusses in decoded url should remain intact.
?something=one+two+three
The text was updated successfully, but these errors were encountered: