Repository navigation
url, querystring: web platform tests broken by WHATWG URL implementation #11093
Description
Activity
- addedwhatwg-urlIssues and PRs related to the WHATWG URL implementation.Issues and PRs related to the WHATWG URL implementation.querystringIssues and PRs related to the built-in querystring module.Issues and PRs related to the built-in querystring module.
on Feb 1, 2017 I'm starting to wonder if the whatwg url implementation should just have its own querystring implementation ...
Yeah I agree, when it is the spec behavior that is breaking(and breaking big), it's impossible to make a choice. I remember @TimothyGu mentioned he had implemented another one in C++?
I'm starting to wonder if the whatwg url implementation should just have its own querystring implementation
That was what I was pushing for. See #10967 (comment) and #10821.
Yes, my intent all along was to have a separate parsing algorithm for querystring but just hadn't managed to get to it.
- changed the title
[-]url, querystring: escaping searchParams per WHATWG URL spec[/-][+]url, querystring: web platform tests broken by WHATWG URL implementation[/+]on Feb 2, 2017 - added a commit that references this issue
on Feb 14, 2017 Actually, reopening this since only first issue of leading
??is fixed with fa41dd1.We can probably close this in favor of #10821?
Reacted by James M Snell@joyeecheung, I'd be ok with that
Closed in favor of #10821.
- added a commit that references this issue
on Feb 25, 2017 - added a commit that references this issue
on Jul 27, 2026
Version: 90c2ac7
Broken tests discovered in #11079 that don't have tracking issues:
Leading
??In upstream urltestdata.json:
Expected
searchParams.toString()to be%3Fa=b&c=d, gota=b&c=d(the second?is ignored).Also presents in upstream url-constructor.html
Note: this only appears when we parse through
URLSpace should be escaped as
+In upstream url-constructor.html
In urlsearchparams-stringifier.html
Currently it's escaped as
%20by thequerystringmodule. I suspect fixing this inquerystringmight be too breaking though.