aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Handlers/CookHeaders.py
diff options
context:
space:
mode:
authorMark Sapiro <msapiro@value.net>2012-03-24 15:44:47 -0700
committerMark Sapiro <msapiro@value.net>2012-03-24 15:44:47 -0700
commitee48c7622aa43f2d2cb25dc198ce2704c2bbecc5 (patch)
tree20ab14369ffc73c67a4ae3908f14e96f1e07013a /Mailman/Handlers/CookHeaders.py
parent057318e73904348035258ab7121700c6fd21a7ab (diff)
downloadmailman2-ee48c7622aa43f2d2cb25dc198ce2704c2bbecc5.tar.gz
mailman2-ee48c7622aa43f2d2cb25dc198ce2704c2bbecc5.tar.xz
mailman2-ee48c7622aa43f2d2cb25dc198ce2704c2bbecc5.zip
Stopped removing the trailing slash from the List-Archive: header URL.
(LP: #964190)
Diffstat (limited to 'Mailman/Handlers/CookHeaders.py')
-rw-r--r--Mailman/Handlers/CookHeaders.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Mailman/Handlers/CookHeaders.py b/Mailman/Handlers/CookHeaders.py
index 904f5c3e..a2096172 100644
--- a/Mailman/Handlers/CookHeaders.py
+++ b/Mailman/Handlers/CookHeaders.py
@@ -215,8 +215,6 @@ def process(mlist, msg, msgdata):
# Add this header if we're archiving
if mlist.archive:
archiveurl = mlist.GetBaseArchiveURL()
- if archiveurl.endswith('/'):
- archiveurl = archiveurl[:-1]
headers['List-Archive'] = '<%s>' % archiveurl
# First we delete any pre-existing headers because the RFC permits only
# one copy of each, and we want to be sure it's ours.