mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 08:14:24 +03:00
Fix for escaping single quote character(s)
This commit is contained in:
parent
3200134b3b
commit
65c55a6a49
|
@ -22,7 +22,7 @@ class Syntax:
|
|||
retVal = expression
|
||||
|
||||
if quote:
|
||||
for item in re.findall(r"'[^']+'", expression, re.S):
|
||||
for item in re.findall(r"'[^']*'+", expression, re.S):
|
||||
retVal = retVal.replace(item, escaper(item[1:-1]))
|
||||
else:
|
||||
retVal = escaper(expression)
|
||||
|
|
Loading…
Reference in New Issue
Block a user