diff options
author | Yasuhito FUTATSUKI at POEM <futatuki@poem.co.jp> | 2016-02-26 14:46:14 +0900 |
---|---|---|
committer | Yasuhito FUTATSUKI at POEM <futatuki@poem.co.jp> | 2016-02-26 14:46:14 +0900 |
commit | 74500e4eadea5e441bcbd4ffe825c8729909f272 (patch) | |
tree | 545dee788d08d542fa2a943d5db5687205e5e2d6 /Mailman/Utils.py | |
parent | c8e88eff4072fff9a9d46bd8d1da23f4854c128a (diff) | |
parent | 12737ecf786a8d0315bc6a9a4448831cc19eead2 (diff) | |
download | mailman2-74500e4eadea5e441bcbd4ffe825c8729909f272.tar.gz mailman2-74500e4eadea5e441bcbd4ffe825c8729909f272.tar.xz mailman2-74500e4eadea5e441bcbd4ffe825c8729909f272.zip |
Merge lp:mailman/2.1 up to rev 1622
Diffstat (limited to 'Mailman/Utils.py')
-rw-r--r-- | Mailman/Utils.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Mailman/Utils.py b/Mailman/Utils.py index 4a5dddef..8a54bfc5 100644 --- a/Mailman/Utils.py +++ b/Mailman/Utils.py @@ -1162,7 +1162,6 @@ def suspiciousHTML(html): # algorithm at https://publicsuffix.org/list/ to find the "Organizational # Domain corresponding to a From: domain. -URL = 'https://publicsuffix.org/list/public_suffix_list.dat' s_dict = {} def get_suffixes(url): @@ -1205,7 +1204,7 @@ def get_org_dom(domain): Domain which may be the same as the input.""" global s_dict if not s_dict: - get_suffixes(URL) + get_suffixes(mm_cfg.DMARC_ORGANIZATIONAL_DOMAIN_DATA_URL) hits = [] d = domain.split('.') d.reverse() |