mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-06-13 01:23:04 +03:00
fix for a bug reported by David (UnicodeDecodeError: url = url + '?' + query)
This commit is contained in:
parent
a64407d9db
commit
1dea609019
|
@ -113,6 +113,10 @@ class Connect:
|
|||
responseHeaders = None
|
||||
logHeaders = ""
|
||||
|
||||
# there are known issues when using url in unicode format
|
||||
# (e.g. UnicodeDecodeError: "url = url + '?' + query" in redirect case)
|
||||
url = unicodeencode(url)
|
||||
|
||||
try:
|
||||
if silent:
|
||||
socket.setdefaulttimeout(HTTP_SILENT_TIMEOUT)
|
||||
|
|
Loading…
Reference in New Issue
Block a user