Merge branch 'master' of github.com:sqlmapproject/sqlmap

This commit is contained in:
Bernardo Damele 2013-01-29 15:38:16 +00:00
commit c47b44e93f
5 changed files with 19 additions and 38 deletions

View file

@ -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