mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Fixes #1608
This commit is contained in:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user