mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
fix for an issue reported by andrew.gecse@upcmail.hu (unknown web page charset 'hungarian-iso-8859-2')
This commit is contained in:
@@ -118,6 +118,8 @@ def checkCharEncoding(encoding):
|
||||
encoding = 'cp%s' % encoding[3:]
|
||||
elif encoding.startswith('windows') and not encoding.startswith('windows-'):
|
||||
encoding = 'windows-%s' % encoding[7:]
|
||||
elif encoding.find('iso-88') > 0:
|
||||
encoding = encoding[encoding.find('iso-88'):]
|
||||
|
||||
# http://philip.html5.org/data/charsets-2.html
|
||||
if encoding in translate:
|
||||
|
||||
Reference in New Issue
Block a user