mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
fix for a bug reported by g@brindi.si (UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position
47: ordinal not in range(128))
This commit is contained in:
@@ -133,6 +133,7 @@ class Connect:
|
||||
refreshing = kwargs.get('refreshing', False)
|
||||
retrying = kwargs.get('retrying', False)
|
||||
redirecting = kwargs.get('redirecting', False)
|
||||
crawling = kwargs.get('crawling', False)
|
||||
|
||||
if not urlparse.urlsplit(url).netloc:
|
||||
url = urlparse.urljoin(conf.url, url)
|
||||
@@ -188,7 +189,7 @@ class Connect:
|
||||
|
||||
return page
|
||||
|
||||
elif refreshing:
|
||||
elif any ([refreshing, crawling]):
|
||||
pass
|
||||
|
||||
elif target:
|
||||
|
||||
Reference in New Issue
Block a user