mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-14 15:14:31 +03:00
Fix for an Issue #262
This commit is contained in:
parent
ed40f18796
commit
bd33128085
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user