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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/80692809>