Skip to content

querystring, url: repeated '&' in a paramsString will be skipped

Updates:

  • skip the parsing process if a pair of a key and a value is empty
  • add test cases for querystring and URLSearchParams

Fixes: https://github.com/nodejs/node/issues/10454

/cc @nodejs/url

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

querystring, url, url-whatwg, test

Merge request reports

Loading