[Webkit-unassigned] [Bug 230628] New: WTF::removeQueryParameters() decodes URL-encoded characters in remaining parameters

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 22 08:15:56 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=230628

            Bug ID: 230628
           Summary: WTF::removeQueryParameters() decodes URL-encoded
                    characters in remaining parameters
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: wilander at apple.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210922/d0c5d2a6/attachment.htm>


More information about the webkit-unassigned mailing list