From 94091cd0e989917fc3a54a912da72a152b9ebd7f Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 15 May 2016 09:37:45 +0200 Subject: [PATCH] Fixes #1871 --- lib/core/convert.py | 2 +- lib/core/settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/convert.py b/lib/core/convert.py index 9e88d3e73..68da664db 100644 --- a/lib/core/convert.py +++ b/lib/core/convert.py @@ -160,7 +160,7 @@ def htmlunescape(value): codes = (('<', '<'), ('>', '>'), ('"', '"'), (' ', ' '), ('&', '&')) retVal = reduce(lambda x, y: x.replace(y[0], y[1]), codes, retVal) try: - retVal = re.sub(r"&#x([^;]+);", lambda match: unichr(int(match.group(1), 16)), retVal) + retVal = re.sub(r"&#x([^ ;]+);", lambda match: unichr(int(match.group(1), 16)), retVal) except ValueError: pass return retVal diff --git a/lib/core/settings.py b/lib/core/settings.py index 328e62e0b..2691f78ee 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import OS from lib.core.revision import getRevisionNumber # sqlmap version (...) -VERSION = "1.0.5.26" +VERSION = "1.0.5.27" REVISION = getRevisionNumber() STABLE = VERSION.count('.') <= 2 VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")