mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-04-25 11:23:44 +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
|
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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user