From 930262f5739542cd2b0d2c4b263bd63c570cdae6 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 14 Apr 2011 10:12:07 +0000 Subject: [PATCH] minor update related to the last commit --- lib/core/option.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/core/option.py b/lib/core/option.py index 156a0362c..6b5990192 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -277,9 +277,10 @@ def __feedTargetsDict(reqFile, addedTargetUrls): getPostReq &= re.search(conf.scope, host) is not None if getPostReq and (params or cookie): + if not port and scheme == "https": + port = "443" + if not url.startswith("http"): - if not port and scheme == "https": - port = "443" url = "%s://%s:%s%s" % (scheme or "http", host, port or "80", url) scheme = None port = None