mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-12-01 22:13:53 +03:00
bug fix for international encoded letters
This commit is contained in:
parent
63b8156c00
commit
11996ce12e
|
@ -66,6 +66,11 @@ def urldecode(value):
|
||||||
result = None
|
result = None
|
||||||
|
|
||||||
if value:
|
if 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)
|
result = urllib.unquote_plus(value)
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
Loading…
Reference in New Issue
Block a user