mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-09 06:01:29 +00:00
minor cleanup
This commit is contained in:
@@ -1036,8 +1036,7 @@ def sanitizeAsciiString(subject):
|
|||||||
if not index:
|
if not index:
|
||||||
return subject
|
return subject
|
||||||
else:
|
else:
|
||||||
retVal = subject[:index] + "".join(subject[i] if ord(subject[i]) < 128 else '?' for i in xrange(index, len(subject)))
|
return subject[:index] + "".join(subject[i] if ord(subject[i]) < 128 else '?' for i in xrange(index, len(subject)))
|
||||||
return retVal
|
|
||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user