mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +00:00
LibWeb: Sort URLSearchParams using UTF-16 code units
We were previously sorting using code points which could give the wrong result for certain inputs. Fixes the last two failing tests on: https://wpt.live/url/urlsearchparams-sort.any.html
This commit is contained in:
parent
cff3e78a14
commit
d56da8cf9a
Notes:
github-actions[bot]
2024-08-17 05:45:28 +00:00
Author: https://github.com/shannonbooth
Commit: d56da8cf9a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1081
3 changed files with 31 additions and 13 deletions
|
@ -0,0 +1,4 @@
|
|||
%EF%BF%BC=&%EF%BF%BD=x&%EF%BF%BD=a
|
||||
'\ufffc' => ''
|
||||
'\ufffd' => '\u0078'
|
||||
'\ufffd' => '\u0061'
|
Loading…
Add table
Add a link
Reference in a new issue