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 6ebb621 commit 2b1b4c0Copy full SHA for 2b1b4c0
1 file changed
lib/core/option.py
@@ -298,14 +298,15 @@ def __parseBurpLog(content):
298
conf.httpHeaders.append((str(key), str(value)))
299
300
if getPostReq and (params or cookie):
301
- if conf.forceSSL:
302
- scheme = "https"
303
- port = "443"
304
if not port and isinstance(scheme, basestring) and scheme.lower() == "https":
305
port = "443"
306
elif not scheme and port == "443":
307
scheme = "https"
308
+ if conf.forceSSL:
+ scheme = "https"
+ port = port or "443"
309
+
310
if not url.startswith("http"):
311
url = "%s://%s:%s%s" % (scheme or "http", host, port or "80", url)
312
scheme = None
0 commit comments