mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-08 05:31:32 +00:00
minor fix
This commit is contained in:
@@ -173,7 +173,7 @@ def decodePage(page, contentEncoding, contentType):
|
|||||||
|
|
||||||
metaCharset = checkCharEncoding(extractRegexResult(META_CHARSET_REGEX, page, re.DOTALL | re.IGNORECASE))
|
metaCharset = checkCharEncoding(extractRegexResult(META_CHARSET_REGEX, page, re.DOTALL | re.IGNORECASE))
|
||||||
|
|
||||||
if (httpCharset or metaCharset and not all([httpCharset, metaCharset]))\
|
if ((httpCharset or metaCharset) and not all([httpCharset, metaCharset]))\
|
||||||
or (httpCharset == metaCharset and all([httpCharset, metaCharset])):
|
or (httpCharset == metaCharset and all([httpCharset, metaCharset])):
|
||||||
kb.pageEncoding = httpCharset or metaCharset
|
kb.pageEncoding = httpCharset or metaCharset
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user