mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-19 01:22:20 +03:00
Minor bug fix (for not displaying heuristic detected page charset None)
This commit is contained in:
parent
ebe8ee3500
commit
887109a12d
|
@ -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 New Issue
Block a user