[Checkins] SVN: Products.PluggableAuthService/branches/do3cc_defensive/ My little branch
Patrick Gerken
do3ccqrv at gmail.com
Wed Sep 1 05:37:33 EDT 2010
Log message for revision 116071:
My little branch
Changed:
A Products.PluggableAuthService/branches/do3cc_defensive/
U Products.PluggableAuthService/branches/do3cc_defensive/Products/PluggableAuthService/plugins/CookieAuthHelper.py
-=-
Modified: Products.PluggableAuthService/branches/do3cc_defensive/Products/PluggableAuthService/plugins/CookieAuthHelper.py
===================================================================
--- Products.PluggableAuthService/branches/1.6/Products/PluggableAuthService/plugins/CookieAuthHelper.py 2010-09-01 00:33:13 UTC (rev 116070)
+++ Products.PluggableAuthService/branches/do3cc_defensive/Products/PluggableAuthService/plugins/CookieAuthHelper.py 2010-09-01 09:37:32 UTC (rev 116071)
@@ -210,7 +210,8 @@
# the only sane thing to do is to give up because we are
# in an endless redirect loop.
return 0
-
+ if isinstance(came_from, list):
+ came_from = came_from[:1]
url = url + '?came_from=%s' % quote(came_from)
resp.redirect(url, lock=1)
return 1
More information about the checkins
mailing list