mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user