Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 93d7d6c

Browse files
committed
minor patch
1 parent 6bedb80 commit 93d7d6c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/core/common.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1292,6 +1292,9 @@ def parseTargetUrl():
12921292
else:
12931293
conf.port = 80
12941294

1295+
if conf.forceSSL and conf.port == 80:
1296+
conf.port = 443
1297+
12951298
if __urlSplit[3]:
12961299
conf.parameters[PLACE.GET] = urldecode(__urlSplit[3]) if __urlSplit[3] and urlencode(DEFAULT_GET_POST_DELIMITER, None) not in __urlSplit[3] else __urlSplit[3]
12971300

0 commit comments

Comments
 (0)