1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:07:45 +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

@ -48,3 +48,13 @@ port => '0'
pathname => ''
search => ''
hash => ''
http://serenityos.org/cat?dog#meow"woof
protocol => 'http:'
username => ''
password => ''
host => 'serenityos.org'
hostname => 'serenityos.org'
port => ''
pathname => '/cat'
search => '?dog'
hash => '#meow%22woof'