mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
minor change
This commit is contained in:
@@ -853,18 +853,18 @@ def urlEncodeCookieValues(cookieStr):
|
||||
|
||||
def directoryPath(path):
|
||||
retVal = None
|
||||
if path.find('/') != -1:
|
||||
retVal = posixpath.dirname(path)
|
||||
else:
|
||||
if isWindowsPath(path):
|
||||
retVal = ntpath.dirname(path)
|
||||
else:
|
||||
retVal = posixpath.dirname(path)
|
||||
return retVal
|
||||
|
||||
def normalizePath(path):
|
||||
retVal = None
|
||||
if path.find('/') != -1:
|
||||
retVal = posixpath.normpath(path)
|
||||
else:
|
||||
if isWindowsPath(path):
|
||||
retVal = ntpath.normpath(path)
|
||||
else:
|
||||
retVal = posixpath.normpath(path)
|
||||
return retVal
|
||||
|
||||
def safeStringFormat(formatStr, params):
|
||||
|
||||
Reference in New Issue
Block a user