Bug 228029

Summary: Extend the URL class with an accessor for Query Parameters
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: achristensen, bfulgham, katherine_cheney, webkit-bug-importer, wilander
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Brent Fulgham
Reported 2021-07-16 10:51:41 PDT
We currently have the ability to retrieve the full Query String from a URL. It would be convenient to be able to iterate over the set of query parameter key/value pairs. Extend the URL class with a new method similar to the following: struct QueryParameter { StringView key; StringView value; }; Vector<QueryParameters> URL::queryParameters() const;
Attachments
Radar WebKit Bug Importer
Comment 1 2021-07-16 10:53:09 PDT
Note You need to log in before you can comment on or make changes to this bug.