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

Bug in some cases of URLSearchParams percent decoding #1357

Closed
zloirock opened this issue Aug 1, 2024 · 0 comments · Fixed by #1361
Closed

Bug in some cases of URLSearchParams percent decoding #1357

zloirock opened this issue Aug 1, 2024 · 0 comments · Fixed by #1361

Comments

@zloirock
Copy link
Owner

zloirock commented Aug 1, 2024

[...new URLSearchParams('?%C2').keys()][0];
[...new URLSearchParams('?%C2x').keys()][0];
[...new URLSearchParams('?%FE%FF').keys()][0];
[...new URLSearchParams('?%FF%FE').keys()][0];

Thanks @mhassan1 for pointing it.

It's too simplified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant