-
Notifications
You must be signed in to change notification settings - Fork 358
Open
Description
The documentation for Url::query_pairs()
does not make it clear whether the returned values are %-decoded. The docs for Url::query()
explicitly say that the returned string is not %-decoded, which might lead the reader to guess the same for Url::query_pairs()
, but my testing suggests that in fact query_pairs()
does %-decode the returned values.
Observed:
Parse the URL’s query string, if any, as application/x-www-form-urlencoded and return an iterator of (key, value) pairs.
Expected:
Parse and decode the URL’s `application/x-www-form-urlencoded`-encoded query string, if any, and return an iterator of the (key, value) pairs.
Metadata
Metadata
Assignees
Labels
No labels