mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-06 16:32:23 +01:00
Fix for an Issue #142
This commit is contained in:
parent
432b567584
commit
5fc1e8bc12
1 changed files with 2 additions and 0 deletions
2
thirdparty/clientform/clientform.py
vendored
2
thirdparty/clientform/clientform.py
vendored
|
|
@ -241,6 +241,8 @@ def unescape_charref(data, encoding):
|
|||
name, base = data, 10
|
||||
if name.startswith("x"):
|
||||
name, base= name[1:], 16
|
||||
elif not name.isdigit():
|
||||
base = 16
|
||||
uc = unichr(int(name, base))
|
||||
if encoding is None:
|
||||
return uc
|
||||
|
|
|
|||
Loading…
Reference in a new issue