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:
parent
4eab37f391
commit
cb4c279e90
3 changed files with 14 additions and 2 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue