diff options
author | Mark Sapiro <mark@msapiro.net> | 2010-01-21 20:39:56 -0800 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2010-01-21 20:39:56 -0800 |
commit | 7b9209cab3c1f08f1f594399aa140b729ad70760 (patch) | |
tree | 9b06aef8621bdd6839ae5f5060e7608ea082c79d /Mailman/Cgi | |
parent | 034ffbb9dc7dbee5c7e9ed73ebf346a04252b4bd (diff) | |
download | mailman2-7b9209cab3c1f08f1f594399aa140b729ad70760.tar.gz mailman2-7b9209cab3c1f08f1f594399aa140b729ad70760.tar.xz mailman2-7b9209cab3c1f08f1f594399aa140b729ad70760.zip |
- Fixed a bug where going to an archives/private/list.mbox/list.mbox URL
would result in a munged URL if authentication was required. Bug #266164.
Diffstat (limited to 'Mailman/Cgi')
-rw-r--r-- | Mailman/Cgi/private.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Mailman/Cgi/private.py b/Mailman/Cgi/private.py index 86608418..c647653b 100644 --- a/Mailman/Cgi/private.py +++ b/Mailman/Cgi/private.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998-2006 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2010 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -137,6 +137,8 @@ def main(): # Put the original full path in the authorization form, but avoid # trailing slash if we're not adding parts. We add it below. action = mlist.GetScriptURL('private', absolute=1) + if mboxfile: + action += '.mbox' if parts[1:]: action = os.path.join(action, SLASH.join(parts[1:])) # If we added '/index.html' to true_filename, add a slash to the URL. |