aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Utils.py
diff options
context:
space:
mode:
authorYasuhito FUTATSUKI at POEM <futatuki@poem.co.jp>2017-04-26 14:33:19 +0900
committerYasuhito FUTATSUKI at POEM <futatuki@poem.co.jp>2017-04-26 14:33:19 +0900
commit588da6057bfe19df9ef7d8667da41fc9888c7bd9 (patch)
treedfd1cb72b8761cc43ffb49be6129d85fcb0aef0a /Mailman/Utils.py
parent2ad1a49e7210ef6cd1f1752508da571c08abe763 (diff)
parent4657d9ae7b6c0b696ae2557a89469ac7f29c9289 (diff)
downloadmailman2-588da6057bfe19df9ef7d8667da41fc9888c7bd9.tar.gz
mailman2-588da6057bfe19df9ef7d8667da41fc9888c7bd9.tar.xz
mailman2-588da6057bfe19df9ef7d8667da41fc9888c7bd9.zip
merge lp:mailman/2.1 up to rev 1699
Diffstat (limited to 'Mailman/Utils.py')
-rw-r--r--Mailman/Utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Utils.py b/Mailman/Utils.py
index 7bae2e6e..739def1d 100644
--- a/Mailman/Utils.py
+++ b/Mailman/Utils.py
@@ -759,7 +759,7 @@ def get_domain():
if port and host.endswith(':' + port):
host = host[:-len(port)-1]
if mm_cfg.VIRTUAL_HOST_OVERVIEW and host:
- return host.lower()
+ return websafe(host.lower())
else:
# See the note in Defaults.py concerning DEFAULT_URL
# vs. DEFAULT_URL_HOST.