mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 04:31:30 +00:00
Fix for an Issue #262
This commit is contained in:
@@ -2759,7 +2759,7 @@ def safeSQLIdentificatorNaming(name, isTable=False):
|
||||
elif Backend.getIdentifiedDbms() in (DBMS.MSSQL,):
|
||||
retVal = "[%s]" % retVal.strip("[]")
|
||||
|
||||
if _ and DEFAULT_MSSQL_SCHEMA not in retVal:
|
||||
if _ and DEFAULT_MSSQL_SCHEMA not in retVal and '.' not in re.sub(r"\[[^]]+\]", "", retVal):
|
||||
retVal = "%s.%s" % (DEFAULT_MSSQL_SCHEMA, retVal)
|
||||
|
||||
return retVal
|
||||
|
||||
Reference in New Issue
Block a user