mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
Fix for escaping single quote character(s)
This commit is contained in:
@@ -22,7 +22,7 @@ class Syntax:
|
|||||||
retVal = expression
|
retVal = expression
|
||||||
|
|
||||||
if quote:
|
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]))
|
retVal = retVal.replace(item, escaper(item[1:-1]))
|
||||||
else:
|
else:
|
||||||
retVal = escaper(expression)
|
retVal = escaper(expression)
|
||||||
|
|||||||
Reference in New Issue
Block a user