------------------------------------------------------------ revno: 1198 committer: Mark Sapiro <msap...@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-coders/mailman/2.2/+edit-subscription
=== 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/archive%40jab.org