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