mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-17 07:00:00 +00:00
important fix for a bug reported by x <deep_freeze@mail.ru> (along with normal fixes, getUnicode now uses kb.pageEncoding)
This commit is contained in:
parent
572f403069
commit
08ccbf2c1e
5 changed files with 22 additions and 16 deletions
|
|
@ -132,7 +132,8 @@ def decodePage(page, contentEncoding, contentType):
|
|||
charset = checkCharEncoding(contentType.split('charset=')[-1])
|
||||
|
||||
if charset:
|
||||
page = getUnicode(page, charset)
|
||||
kb.pageEncoding = charset
|
||||
page = getUnicode(page)
|
||||
|
||||
return page
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue