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

URLSearchParams regression #11208

Closed
stevenvachon opened this issue Feb 7, 2017 · 2 comments
Closed

URLSearchParams regression #11208

stevenvachon opened this issue Feb 7, 2017 · 2 comments
Labels
whatwg-url Issues and PRs related to the WHATWG URL implementation.

Comments

@stevenvachon
Copy link

stevenvachon commented Feb 7, 2017

const url = new (require("url").URL)("http://www.domain.com:123/dir/file.html?var=&var=value&var=#hash");
console.log( Array.from(url.searchParams) );

logs:

[ [ 'var', '' ], [ 'var', '' ] ]

when it should be:

[ [ 'var', '' ], [ 'var', 'value' ], [ 'var', '' ] ]
@mscdex
Copy link
Contributor

mscdex commented Feb 7, 2017

Already a known issue, see this PR: #11171

@mscdex mscdex added the whatwg-url Issues and PRs related to the WHATWG URL implementation. label Feb 7, 2017
@stevenvachon
Copy link
Author

Should we close this, then?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
whatwg-url Issues and PRs related to the WHATWG URL implementation.
Projects
None yet
Development

No branches or pull requests

3 participants