mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Fixes #1279
This commit is contained in:
parent
b212321c07
commit
97244f5e5e
|
@ -217,6 +217,9 @@ class Agent(object):
|
|||
if conf.direct:
|
||||
return self.payloadDirect(expression)
|
||||
|
||||
if expression is None:
|
||||
return None
|
||||
|
||||
expression = self.cleanupPayload(expression)
|
||||
expression = unescaper.escape(expression)
|
||||
query = None
|
||||
|
@ -258,6 +261,9 @@ class Agent(object):
|
|||
if conf.direct:
|
||||
return self.payloadDirect(expression)
|
||||
|
||||
if expression is None:
|
||||
return None
|
||||
|
||||
expression = self.cleanupPayload(expression)
|
||||
|
||||
# Take default values if None
|
||||
|
|
Loading…
Reference in New Issue
Block a user