mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Minor patch
This commit is contained in:
parent
50ac3aab7a
commit
240e9f3f7e
|
@ -134,6 +134,8 @@ def checkCharEncoding(encoding, warn=True):
|
|||
encoding = encoding.replace("2313", "2312") # gb2313 -> gb2312
|
||||
elif "x-euc" in encoding:
|
||||
encoding = encoding.replace("x-euc", "euc") # x-euc-kr -> euc-kr
|
||||
elif "windows-cp" in encoding:
|
||||
encoding = encoding.replace("windows-cp", "windows") # windows-cp-1254 -> windows-1254
|
||||
|
||||
# name adjustment for compatibility
|
||||
if encoding.startswith("8859"):
|
||||
|
|
Loading…
Reference in New Issue
Block a user