From d89e79ad66651ffed5412658fd28d90773cdc619 Mon Sep 17 00:00:00 2001 From: Max Goodman Date: Wed, 1 Jun 2011 16:14:19 +0000 Subject: [PATCH] Include the host ports in the secure_domains set. --- r2/r2/lib/app_globals.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')