1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:57:46 +00:00

AK: Percent encode URL fragments when parsed

This fixes URL fragments containing characters in the fragment encoding
set that were not being correctly percent encoded.
This commit is contained in:
Shannon Booth 2023-08-14 16:25:21 +12:00 committed by Andrew Kaster
parent 4eab37f391
commit cb4c279e90
3 changed files with 14 additions and 2 deletions

View file

@ -21,6 +21,7 @@
'http://[1:0:1:0:1:0:1:0]',
'http://[1:1:0:0:1:0:0:0]/',
'unknown://serenityos.org:0',
'http://serenityos.org/cat?dog#meow"woof',
]) {
printURL(url);
}