mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-07 08:52:20 +01:00
Minor bug fix (for not displaying heuristic detected page charset None)
This commit is contained in:
parent
ebe8ee3500
commit
887109a12d
1 changed files with 3 additions and 2 deletions
|
|
@ -186,8 +186,9 @@ def getHeuristicCharEncoding(page):
|
|||
"""
|
||||
retVal = detect(page)["encoding"]
|
||||
|
||||
infoMsg = "heuristics detected web page charset '%s'" % retVal
|
||||
singleTimeLogMessage(infoMsg, logging.INFO, retVal)
|
||||
if retVal:
|
||||
infoMsg = "heuristics detected web page charset '%s'" % retVal
|
||||
singleTimeLogMessage(infoMsg, logging.INFO, retVal)
|
||||
|
||||
return retVal
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue