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

Error parsing params values with = #36

Open
Serginho opened this issue Nov 2, 2018 · 1 comment
Open

Error parsing params values with = #36

Serginho opened this issue Nov 2, 2018 · 1 comment

Comments

@Serginho
Copy link

Serginho commented Nov 2, 2018

= simbol is allowed as a url param value.

Example:
new UrlSearchParams('?param1=valuewith=&param2=bar');

This example breaks un the unexpected value: {param1: valuewith , param2: bar}

expected: {param1: valuewith= , param2: bar}

@alexturpin
Copy link

I've run into this issue with base64 encoded values as well. Results for new URLSearchParams('q=GVzdA==').get('q') is GVzdA with the polyfill but in Chrome, Firefox and Edge it's GVzdA==.

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

No branches or pull requests

2 participants