mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 13:14:13 +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))
|
||||
|
||||
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])):
|
||||
kb.pageEncoding = httpCharset or metaCharset
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user