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 1d4b10d commit 7e9e582Copy full SHA for 7e9e582
2 files changed
lib/core/common.py
@@ -1292,9 +1292,6 @@ def parseTargetUrl():
1292
else:
1293
conf.port = 80
1294
1295
- if conf.forceSSL and conf.port == 80:
1296
- conf.port = 443
1297
-
1298
if __urlSplit[3]:
1299
conf.parameters[PLACE.GET] = urldecode(__urlSplit[3]) if __urlSplit[3] and urlencode(DEFAULT_GET_POST_DELIMITER, None) not in __urlSplit[3] else __urlSplit[3]
1300
lib/core/option.py
@@ -295,6 +295,8 @@ def __parseBurpLog(content):
295
conf.httpHeaders.append((str(key), str(value)))
296
297
if getPostReq and (params or cookie):
298
+ if conf.forceSSL:
299
+ scheme = "https"
300
if not port and isinstance(scheme, basestring) and scheme.lower() == "https":
301
port = "443"
302
elif not scheme and port == "443":
0 commit comments