mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Fixes #1608
This commit is contained in:
parent
dc7f2a71d2
commit
b269e8418f
2 changed files with 4 additions and 4 deletions
|
|
@ -1738,7 +1738,7 @@ def posixToNtSlashes(filepath):
|
|||
'C:\\\\Windows'
|
||||
"""
|
||||
|
||||
return filepath.replace('/', '\\')
|
||||
return filepath.replace('/', '\\') if filepath else filepath
|
||||
|
||||
def ntToPosixSlashes(filepath):
|
||||
"""
|
||||
|
|
@ -1749,7 +1749,7 @@ def ntToPosixSlashes(filepath):
|
|||
'C:/Windows'
|
||||
"""
|
||||
|
||||
return filepath.replace('\\', '/')
|
||||
return filepath.replace('\\', '/') if filepath else filepath
|
||||
|
||||
def isHexEncodedString(subject):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue