mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-26 07:19:25 -05:00
Include the host ports in the secure_domains set.
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user