Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 49586ad

Browse files
committed
Fixes #3557
1 parent 83d7969 commit 49586ad

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from lib.core.enums import OS
1818

1919
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
20-
VERSION = "1.3.3.69"
20+
VERSION = "1.3.3.70"
2121
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2222
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2323
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

lib/request/connect.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -746,9 +746,9 @@ class _(dict):
746746
raise SqlmapConnectionException(warnMsg)
747747

748748
finally:
749-
if isinstance(six.binary_type):
749+
if isinstance(page, six.binary_type):
750750
if HTTP_HEADER.CONTENT_TYPE in (responseHeaders or {}) and not re.search(TEXT_CONTENT_TYPE_REGEX, responseHeaders[HTTP_HEADER.CONTENT_TYPE]):
751-
page = unicode(page, errors="ignore")
751+
page = six.text_type(page, errors="ignore")
752752
else:
753753
page = getUnicode(page)
754754

0 commit comments

Comments
 (0)