diff --git a/r2/r2/lib/app_globals.py b/r2/r2/lib/app_globals.py index b9f83a506..a0ba00c99 100644 --- a/r2/r2/lib/app_globals.py +++ b/r2/r2/lib/app_globals.py @@ -274,7 +274,7 @@ class Globals(object): self.paths = paths - self.secure_domains = set([urlparse(self.payment_domain).hostname]) + self.secure_domains = set([urlparse(self.payment_domain).netloc]) # load the md5 hashes of files under static static_files = os.path.join(paths.get('static_files'), 'static')