mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
bug fix for international encoded letters
This commit is contained in:
parent
63b8156c00
commit
11996ce12e
|
@ -66,7 +66,12 @@ def urldecode(value):
|
|||
result = None
|
||||
|
||||
if value:
|
||||
result = urllib.unquote_plus(value)
|
||||
try:
|
||||
# for cases like T%C3%BCrk%C3%A7e
|
||||
value = str(value)
|
||||
result = utf8decode(urllib.unquote_plus(value))
|
||||
except ValueError:
|
||||
result = urllib.unquote_plus(value)
|
||||
|
||||
return result
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user