mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-05-07 01:03:43 +03:00
minor fix
This commit is contained in:
parent
24435a2c20
commit
52c98afe93
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user