mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
fix for a bug reported by m4l1c3 (AttributeError: 'NoneType' object has no attribute 'replace')
This commit is contained in:
@@ -1079,12 +1079,6 @@ def __setHTTPReferer():
|
||||
|
||||
conf.httpHeaders.append((HTTPHEADER.REFERER, conf.referer))
|
||||
|
||||
elif conf.level >= 3:
|
||||
debugMsg = "setting the default HTTP Referer header"
|
||||
logger.debug(debugMsg)
|
||||
|
||||
conf.httpHeaders.append((HTTPHEADER.REFERER, conf.url))
|
||||
|
||||
def __setHTTPCookies():
|
||||
"""
|
||||
Set the HTTP Cookie header
|
||||
|
||||
Reference in New Issue
Block a user