Rewrite unquote_unreserved based on urllib.unquote
Before adoption: this commit came in with the history the project adopted, so no landing records it.
This is almost entirely taken from the unquote implementation in urllib, slightly modified for the case in hand. It now deals with invalid %encodings rather than exploding, and the code is somewhat simpler.
authored by Jonty Wareing · committed by Jonty Wareing · parent e28c1c9 · Browse files · 2 files+12 added−14 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+12 added−14 removed
- other:+12 added−14 removed