mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 11:03:47 +03:00
minor fix to previous commit
This commit is contained in:
parent
601eb1e49a
commit
f49657eacc
|
@ -12,5 +12,5 @@ class Syntax(GenericSyntax):
|
|||
GenericSyntax.__init__(self)
|
||||
|
||||
@staticmethod
|
||||
def escape(expression):
|
||||
def escape(expression, quote=True):
|
||||
return expression
|
||||
|
|
|
@ -16,7 +16,7 @@ class Syntax:
|
|||
pass
|
||||
|
||||
@staticmethod
|
||||
def escape(expression):
|
||||
def escape(expression, quote=True):
|
||||
errMsg = "'escape' method must be defined "
|
||||
errMsg += "inside the specific DBMS plugin"
|
||||
raise SqlmapUndefinedMethod(errMsg)
|
||||
|
|
Loading…
Reference in New Issue
Block a user