mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-09 09:52:35 +01:00
Fix for empty strings (previously '' was just removed)
This commit is contained in:
parent
f185e5cdd5
commit
540493a69f
1 changed files with 3 additions and 1 deletions
|
|
@ -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 a new issue