mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibWeb: Strip trailing spaces from opaque URL path on query change
This was added in https://github.com/whatwg/url/commit/fdaa0e5a to fix a case where roundtrips could fail. We had already partially implemented these steps - but it seems this was missed in the update of URLSearchParams. Fixes the last failing WPT test for: https://wpt.live/url/urlsearchparams-delete.any.html
This commit is contained in:
committed by
Andreas Kling
parent
1c5a7cd31b
commit
cff3e78a14
Notes:
github-actions[bot]
2024-08-17 05:45:33 +00:00
Author: https://github.com/shannonbooth Commit: https://github.com/LadybirdBrowser/ladybird/commit/cff3e78a147 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1081
@@ -0,0 +1,6 @@
|
||||
URL pathname is 'space '
|
||||
URL href is 'data:space ?test'
|
||||
true
|
||||
false
|
||||
URL pathname is 'space'
|
||||
URL href is 'data:space'
|
||||
Reference in New Issue
Block a user