[prev in list] [next in list] [prev in thread] [next in thread]
List: mailman-cvs
Subject: [Mailman-checkins] [Branch ~mailman-coders/mailman/2.2] Rev 1198:
From: noreply () launchpad ! net
Date: 2011-11-26 20:55:17
Message-ID: 20111126205517.1053.10563.launchpad () ackee ! canonical ! com
[Download RAW message or body]
------------------------------------------------------------
revno: 1198
committer: Mark Sapiro <msapiro@value.net>
branch nick: 2.2
timestamp: Sat 2011-11-26 11:05:16 -0800
message:
Removed Python 2.5 dependency from fix for Bug #770377.
modified:
Mailman/SecurityManager.py
--
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-c=
oders/mailman/2.2/+edit-subscription
["revision-diff.txt" (revision-diff.txt)]
=== modified file 'Mailman/SecurityManager.py'
--- Mailman/SecurityManager.py 2011-04-26 20:56:54 +0000
+++ Mailman/SecurityManager.py 2011-11-26 19:05:16 +0000
@@ -255,11 +255,11 @@
# The path to all Mailman stuff, minus the scheme and host,
# i.e. usually the string `/mailman'
parsed = urlparse(self.web_page_url)
- path = parsed.path
+ path = parsed[2]
c[key]['path'] = path
# Make sure to set the 'secure' flag on the cookie if mailman is
# accessed by an https url.
- if parsed.scheme == 'https':
+ if parsed[0] == 'https':
c[key]['secure'] = True
# We use session cookies, so don't set `expires' or `max-age' keys.
# Set the RFC 2109 required header.
_______________________________________________
Mailman-checkins mailing list
Mailman-checkins@python.org
Unsubscribe: http://mail.python.org/mailman/options/mailman-checkins/mailman-cvs%40progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic