Skip to content

URLSearchParams regression #11208

Description

@stevenvachon
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', '' ] ]

Activity

mscdex commented on Feb 7, 2017

@mscdex
Contributor

Already a known issue, see this PR: #11171

added
whatwg-urlIssues and PRs related to the WHATWG URL implementation.
on Feb 7, 2017

stevenvachon commented on Feb 7, 2017

@stevenvachon
Author

Should we close this, then?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    whatwg-urlIssues and PRs related to the WHATWG URL implementation.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions