------------------------------------------------------------
revno: 1091
committer: Mark Sapiro <[email protected]>
branch nick: 2.2
timestamp: Thu 2010-01-21 20:39:14 -0800
message:
  - 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.
modified:
  Mailman/Cgi/private.py
  NEWS


--
lp:mailman/2.2
https://code.launchpad.net/~mailman-coders/mailman/2.2

Your team Mailman Checkins is subscribed to branch lp:mailman/2.2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~mailman-coders/mailman/2.2/+edit-subscription.
=== modified file 'Mailman/Cgi/private.py'
--- Mailman/Cgi/private.py	2009-07-31 22:33:01 +0000
+++ Mailman/Cgi/private.py	2010-01-22 04:39:14 +0000
@@ -1,4 +1,4 @@
-# Copyright (C) 1998-2009 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
@@ -158,6 +158,8 @@
         # 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.

=== modified file 'NEWS'
--- NEWS	2009-12-30 21:41:26 +0000
+++ NEWS	2010-01-22 04:39:14 +0000
@@ -83,6 +83,9 @@
 
   Bug Fixes and other patches
 
+    - 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.
+
     - Fixed a bug where check_perms would throw an OSError if an entry in
       Mailman's lists/ directory was not a directory.  Bug #265613.
 

_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to