mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-02 20:54:13 +03:00
Fix for empty strings (previously '' was just removed)
This commit is contained in:
parent
f185e5cdd5
commit
540493a69f
|
@ -23,7 +23,9 @@ class Syntax:
|
|||
|
||||
if quote:
|
||||
for item in re.findall(r"'[^']*'+", expression, re.S):
|
||||
retVal = retVal.replace(item, escaper(item[1:-1]))
|
||||
_ = item[1:-1]
|
||||
if _:
|
||||
retVal = retVal.replace(item, escaper(_))
|
||||
else:
|
||||
retVal = escaper(expression)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user