This commit is contained in:
Miroslav Stampar
2011-02-06 22:14:18 +00:00
parent 078a2207cc
commit ecaf5729fd
8 changed files with 8 additions and 8 deletions

View File

@@ -30,7 +30,7 @@ class Syntax(GenericSyntax):
index = expression[firstIndex:].find("''")
if index == -1:
break
raise sqlmapSyntaxException, "Unenclosed ' in '%s'" % expression.replace("''", "'")
lastIndex = firstIndex + index
old = "''%s''" % expression[firstIndex:lastIndex]