mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 02:53:46 +03:00
fix for an issue reported by andrew.gecse@upcmail.hu (unknown web page charset 'hungarian-iso-8859-2')
This commit is contained in:
parent
d5eeb91b35
commit
41fc9f9d54
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user