mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-08 05:31:32 +00:00
Minor bug fix (for not displaying heuristic detected page charset None)
This commit is contained in:
@@ -186,6 +186,7 @@ def getHeuristicCharEncoding(page):
|
|||||||
"""
|
"""
|
||||||
retVal = detect(page)["encoding"]
|
retVal = detect(page)["encoding"]
|
||||||
|
|
||||||
|
if retVal:
|
||||||
infoMsg = "heuristics detected web page charset '%s'" % retVal
|
infoMsg = "heuristics detected web page charset '%s'" % retVal
|
||||||
singleTimeLogMessage(infoMsg, logging.INFO, retVal)
|
singleTimeLogMessage(infoMsg, logging.INFO, retVal)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user