mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Minor update
This commit is contained in:
parent
9e436efbc5
commit
58ebc41b28
4 changed files with 6 additions and 6 deletions
|
|
@ -258,7 +258,7 @@ def getHeuristicCharEncoding(page):
|
|||
'ascii'
|
||||
"""
|
||||
|
||||
key = hash(page)
|
||||
key = (len(page), hash(page))
|
||||
retVal = kb.cache.encoding[key] if key in kb.cache.encoding else detect(page[:HEURISTIC_PAGE_SIZE_THRESHOLD])["encoding"]
|
||||
kb.cache.encoding[key] = retVal
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue