mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Merge branch 'master' of github.com:sqlmapproject/sqlmap
This commit is contained in:
commit
c47b44e93f
5 changed files with 19 additions and 38 deletions
|
|
@ -1360,7 +1360,7 @@ def normalizePath(filepath):
|
|||
retVal = filepath
|
||||
|
||||
if retVal:
|
||||
retVal = retVal.strip("\r").strip("\n")
|
||||
retVal = retVal.strip("\r\n")
|
||||
retVal = ntpath.normpath(retVal) if isWindowsDriveLetterPath(retVal) else posixpath.normpath(retVal)
|
||||
|
||||
return retVal
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue