mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-19 00:17:51 +02:00
fix plus signs in quoted query
This commit is contained in:
@ -177,7 +177,7 @@ def parse(
|
|||||||
normalized = urlsplit(urlunsplit(parts))
|
normalized = urlsplit(urlunsplit(parts))
|
||||||
|
|
||||||
quoted = normalized._replace(path=quote(normalized.path),
|
quoted = normalized._replace(path=quote(normalized.path),
|
||||||
query=quote_plus(normalized.query)).geturl()
|
query=quote_plus(normalized.query, safe='+')).geturl()
|
||||||
|
|
||||||
unquoted = normalized._replace(path=unquote(normalized.path),
|
unquoted = normalized._replace(path=unquote(normalized.path),
|
||||||
query=unquote_plus(normalized.query)).geturl()
|
query=unquote_plus(normalized.query)).geturl()
|
||||||
|
Reference in New Issue
Block a user