mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-23 15:54:24 +03:00
Fixes #1278
This commit is contained in:
parent
b02be9674f
commit
b212321c07
|
@ -245,8 +245,7 @@ class Agent(object):
|
|||
if not (expression and expression[0] == ';') and not (query and query[-1] in ('(', ')') and expression and expression[0] in ('(', ')')) and not (query and query[-1] == '('):
|
||||
query += " "
|
||||
|
||||
if query:
|
||||
query = "%s%s" % (query.replace('\\', BOUNDARY_BACKSLASH_MARKER), expression)
|
||||
query = "%s%s" % ((query or "").replace('\\', BOUNDARY_BACKSLASH_MARKER), expression)
|
||||
|
||||
return query
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user