Skip to content

Commit 9a54a91

Browse files
committed
Patch for an Issue #231
1 parent 5b3fe25 commit 9a54a91

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/core/common.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1989,6 +1989,7 @@ def _(match):
19891989
char = chr(ord(match.group(1).decode("hex")))
19901990
return char if char in charset else match.group(0)
19911991
result = re.sub("%([0-9a-fA-F]{2})", _, value)
1992+
result = result.replace("+", " ") # plus sign has a special meaning in url encoded data (hence the usage of urllib.unquote_plus in convall case)
19921993

19931994
if isinstance(result, str):
19941995
result = unicode(result, encoding or UNICODE_ENCODING, "replace")

0 commit comments

Comments
 (0)