mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
Implementing Issue #111
This commit is contained in:
@@ -144,5 +144,4 @@ def htmlunescape(value):
|
||||
if value and isinstance(value, basestring):
|
||||
codes = (('<', '<'), ('>', '>'), ('"', '"'), (' ', ' '), ('&', '&'))
|
||||
retVal = reduce(lambda x, y: x.replace(y[0], y[1]), codes, retVal)
|
||||
retVal = re.sub('&#(\d+);', lambda x: getUnicode(chr(x.group(1))), retVal)
|
||||
return retVal
|
||||
|
||||
Reference in New Issue
Block a user