summaryrefslogtreecommitdiff
path: root/Mailman/Archiver/HyperArch.py
diff options
context:
space:
mode:
authorbwarsaw2002-12-24 17:03:05 +0000
committerbwarsaw2002-12-24 17:03:05 +0000
commitd4e06e546a7ffdf633e6307a30f97fb271c4ea18 (patch)
tree8f36cbf14264d87ffe0428d49f76a8c97a79ccab /Mailman/Archiver/HyperArch.py
parent3089b16b26ea6fccc6c0ba2840fb0a7e422218ff (diff)
downloadmailman-d4e06e546a7ffdf633e6307a30f97fb271c4ea18.tar.gz
mailman-d4e06e546a7ffdf633e6307a30f97fb271c4ea18.tar.zst
mailman-d4e06e546a7ffdf633e6307a30f97fb271c4ea18.zip
Diffstat (limited to 'Mailman/Archiver/HyperArch.py')
-rw-r--r--Mailman/Archiver/HyperArch.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/Mailman/Archiver/HyperArch.py b/Mailman/Archiver/HyperArch.py
index affe66633..60db2b0e6 100644
--- a/Mailman/Archiver/HyperArch.py
+++ b/Mailman/Archiver/HyperArch.py
@@ -1123,7 +1123,12 @@ class HyperArchive(pipermail.T):
k = kr.start(0)
if j != -1 and (j < k or k == -1):
text = jr.group(1)
- URL = 'mailto:' + text
+ if mm_cfg.ARCHIVER_OBSCURES_EMAILADDRS:
+ text = re.sub('@', _(' at '), text)
+ URL = self.maillist.GetScriptURL(
+ 'listinfo', absolute=1)
+ else:
+ URL = 'mailto:' + text
pos = j
elif k != -1 and (j > k or j == -1):
text = URL = kr.group(1)