mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +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>
|
Marcos Mateos Garcia <mmateos@germinus.com>
|
||||||
for reporting a minor bug
|
for reporting a minor bug
|
||||||
|
|
||||||
|
Andrew Gecse <andrew.gecse@upcmail.hu>
|
||||||
|
for reporting a minor issue
|
||||||
|
|
||||||
Ivan Giacomelli <truemilk@insiberia.net>
|
Ivan Giacomelli <truemilk@insiberia.net>
|
||||||
for reporting a bug
|
for reporting a bug
|
||||||
for suggesting a minor enhancement
|
for suggesting a minor enhancement
|
||||||
|
|
|
@ -118,6 +118,8 @@ def checkCharEncoding(encoding):
|
||||||
encoding = 'cp%s' % encoding[3:]
|
encoding = 'cp%s' % encoding[3:]
|
||||||
elif encoding.startswith('windows') and not encoding.startswith('windows-'):
|
elif encoding.startswith('windows') and not encoding.startswith('windows-'):
|
||||||
encoding = 'windows-%s' % encoding[7:]
|
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
|
# http://philip.html5.org/data/charsets-2.html
|
||||||
if encoding in translate:
|
if encoding in translate:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user