mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
fix for a bug reported by shaohua pan (UnicodeDecodeError: 'ascii' codec can't decode...)
This commit is contained in:
parent
d288c6d6e3
commit
709a7d156b
2 changed files with 3 additions and 1 deletions
|
|
@ -134,6 +134,8 @@ def decodePage(page, contentEncoding, contentType):
|
|||
if charset:
|
||||
kb.pageEncoding = charset
|
||||
page = getUnicode(page)
|
||||
else:
|
||||
page = getUnicode(page)
|
||||
|
||||
return page
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue