WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
230628
WTF::removeQueryParameters() decodes URL-encoded characters in remaining parameters
https://bugs.webkit.org/show_bug.cgi?id=230628
Summary
WTF::removeQueryParameters() decodes URL-encoded characters in remaining para...
John Wilander
Reported
2021-09-22 08:15:56 PDT
Reported by Anne van Kesteren in
https://bugs.webkit.org/show_bug.cgi?id=228122#c42
:
> removeQueryParameters looks buggy as instead of using a serializer for > the resulting query you append the raw keys and values to a string. Meaning > that %3D would become = and %26 becomes &, etc. unless I'm missing > something. You probably want to use the internal equivalent of > URLSearchParams instead.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2021-09-29 08:16:16 PDT
<
rdar://problem/83671508
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug