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

Skip to content

Commit 94091cd

Browse files
committed
Fixes #1871
1 parent cc9f4b6 commit 94091cd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/core/convert.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def htmlunescape(value):
160160
codes = (('&lt;', '<'), ('&gt;', '>'), ('&quot;', '"'), ('&nbsp;', ' '), ('&amp;', '&'))
161161
retVal = reduce(lambda x, y: x.replace(y[0], y[1]), codes, retVal)
162162
try:
163-
retVal = re.sub(r"&#x([^;]+);", lambda match: unichr(int(match.group(1), 16)), retVal)
163+
retVal = re.sub(r"&#x([^ ;]+);", lambda match: unichr(int(match.group(1), 16)), retVal)
164164
except ValueError:
165165
pass
166166
return retVal

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.revision import getRevisionNumber
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.0.5.26"
22+
VERSION = "1.0.5.27"
2323
REVISION = getRevisionNumber()
2424
STABLE = VERSION.count('.') <= 2
2525
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")

0 commit comments

Comments
 (0)