mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 04:31: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:
@@ -128,6 +128,9 @@ Daniel G. Gamonal <lgrecol@gmail.com>
|
||||
Marcos Mateos Garcia <mmateos@germinus.com>
|
||||
for reporting a minor bug
|
||||
|
||||
Andrew Gecse <andrew.gecse@upcmail.hu>
|
||||
for reporting a minor issue
|
||||
|
||||
Ivan Giacomelli <truemilk@insiberia.net>
|
||||
for reporting a bug
|
||||
for suggesting a minor enhancement
|
||||
|
||||
@@ -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