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.
2 parents bedfe1b + 0a4f5d2 commit ac54554Copy full SHA for ac54554
1 file changed
lib/core/option.py
@@ -290,9 +290,9 @@ def _parseBurpLog(content):
290
key, value = line.split(": ", 1)
291
292
# Cookie and Host headers
293
- if key.lower() == "cookie":
+ if key.upper() == HTTPHEADER.COOKIE.upper():
294
cookie = value
295
- elif key.lower() == "host":
+ elif key.upper() == HTTPHEADER.HOST.upper():
296
if '://' in value:
297
scheme, value = value.split('://')[:2]
298
splitValue = value.split(":")
0 commit comments