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 42a73d8 commit e3a02f5Copy full SHA for e3a02f5
1 file changed
lib/request/connect.py
@@ -276,6 +276,10 @@ def getPage(**kwargs):
276
pass
277
278
elif target:
279
+ if conf.forceSSL and urlparse.urlparse(url).scheme != "https":
280
+ url = re.sub("\Ahttp:", "https:", url, re.I)
281
+ url = re.sub(":80/", ":443/", url, re.I)
282
+
283
if PLACE.GET in conf.parameters and not get:
284
get = conf.parameters[PLACE.GET]
285
0 commit comments