Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebc9642 commit 6caccc3Copy full SHA for 6caccc3
1 file changed
lib/request/connect.py
@@ -568,6 +568,10 @@ def getPage(**kwargs):
568
raise SqlmapConnectionException(warnMsg)
569
570
finally:
571
+ if HTTP_HEADER.CONTENT_TYPE in (responseHeaders or {}) and responseHeaders[HTTP_HEADER.CONTENT_TYPE] in ("application/octet-stream",):
572
+ page = unicode(page, errors="replace")
573
+ else:
574
+ page = page if isinstance(page, unicode) else getUnicode(page)
575
page = page if isinstance(page, unicode) else getUnicode(page)
576
socket.setdefaulttimeout(conf.timeout)
577
0 commit comments