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   

Description Brent Fulgham 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;
Comment 1 Radar WebKit Bug Importer 2021-07-16 10:53:09 PDT
<rdar://problem/80692809>