mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Fixes #3961
This commit is contained in:
parent
17658619dc
commit
8407344991
2 changed files with 2 additions and 2 deletions
2
thirdparty/clientform/clientform.py
vendored
2
thirdparty/clientform/clientform.py
vendored
|
|
@ -237,7 +237,7 @@ def unescape(data, entities, encoding=DEFAULT_ENCODING):
|
|||
|
||||
repl = entities.get(ent)
|
||||
if repl is not None:
|
||||
if type(repl) != type(""):
|
||||
if type(repl) != type("") and encoding is not None:
|
||||
try:
|
||||
repl = repl.encode(encoding)
|
||||
except UnicodeError:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue