mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Reverted to r2206
This commit is contained in:
@@ -17,12 +17,14 @@ def tamper(value):
|
|||||||
|
|
||||||
if value:
|
if value:
|
||||||
retVal = ""
|
retVal = ""
|
||||||
quote, doublequote = False, False
|
quote, doublequote, firstspace = False, False, False
|
||||||
|
|
||||||
for i in xrange(len(value)):
|
for i in xrange(len(value)):
|
||||||
if value[i].isspace():
|
if not firstspace:
|
||||||
retVal += " "
|
if value[i].isspace():
|
||||||
continue
|
firstspace = True
|
||||||
|
retVal += " "
|
||||||
|
continue
|
||||||
|
|
||||||
elif value[i] == '\'':
|
elif value[i] == '\'':
|
||||||
quote = not quote
|
quote = not quote
|
||||||
|
|||||||
Reference in New Issue
Block a user