mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
minor fix for Python v2.6
This commit is contained in:
parent
f55ad46119
commit
3e4db6d140
|
@ -1637,7 +1637,7 @@ def getSPLSnippet(dbms, name, **variables):
|
|||
retVal = re.sub(r"#.+", "", retVal)
|
||||
|
||||
for _ in variables.keys():
|
||||
retVal = re.sub(r"%%%s%%" % _, variables[_], retVal, flags=re.I)
|
||||
retVal = re.sub(r"%%%s%%" % _, variables[_], retVal)
|
||||
|
||||
_ = re.search(r"%([^%]+)%", retVal, re.I)
|
||||
if _:
|
||||
|
|
Loading…
Reference in New Issue
Block a user