mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-13 11:53:32 +01:00
fix for a bug reported by nightman (unknown charset 'null')
This commit is contained in:
parent
d757e4ae1c
commit
5abbea4a9f
1 changed files with 2 additions and 0 deletions
|
|
@ -92,6 +92,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 == 'null':
|
||||
return None
|
||||
|
||||
try:
|
||||
codecs.lookup(encoding)
|
||||
|
|
|
|||
Loading…
Reference in a new issue