mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-08 01:13:17 +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"]
|
retVal = detect(page)["encoding"]
|
||||||
|
|
||||||
infoMsg = "heuristics detected web page charset '%s'" % retVal
|
if retVal:
|
||||||
singleTimeLogMessage(infoMsg, logging.INFO, retVal)
|
infoMsg = "heuristics detected web page charset '%s'" % retVal
|
||||||
|
singleTimeLogMessage(infoMsg, logging.INFO, retVal)
|
||||||
|
|
||||||
return retVal
|
return retVal
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue