Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 770cfb6 commit a19bcccCopy full SHA for a19bccc
1 file changed
lib/core/common.py
@@ -1306,7 +1306,7 @@ def parseTargetUrl():
1306
debugMsg = "setting the HTTP Referer header to the target URL"
1307
logger.debug(debugMsg)
1308
conf.httpHeaders = filter(lambda (key, value): key != HTTP_HEADER.REFERER, conf.httpHeaders)
1309
- conf.httpHeaders.append((HTTP_HEADER.REFERER, conf.url))
+ conf.httpHeaders.append((HTTP_HEADER.REFERER, conf.url.replace(CUSTOM_INJECTION_MARK_CHAR, "")))
1310
1311
if not conf.host and (intersect(HOST_ALIASES, conf.testParameter, True) or conf.level >= 5):
1312
debugMsg = "setting the HTTP Host header to the target URL"
0 commit comments