Skip to content

URLSearchParams regression #11208

Closed
Closed

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

  1. mscdex commented on Feb 7, 2017

    @mscdex
    Contributor

    Already a known issue, see this PR: #11171

  2. added
    whatwg-url
    on Feb 7, 2017
  3. 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-url

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions