[Checkins] SVN: z3c.authenticator/trunk/src/z3c/authenticator/credential.py add a note about non-ASCII URL, I'm not sure whether this breaks... hopefully not

Adam Groszer agroszer at gmail.com
Tue Jan 26 12:21:08 EST 2010


Log message for revision 108534:
  add a note about non-ASCII URL, I'm not sure whether this breaks... hopefully not

Changed:
  U   z3c.authenticator/trunk/src/z3c/authenticator/credential.py

-=-
Modified: z3c.authenticator/trunk/src/z3c/authenticator/credential.py
===================================================================
--- z3c.authenticator/trunk/src/z3c/authenticator/credential.py	2010-01-26 17:19:54 UTC (rev 108533)
+++ z3c.authenticator/trunk/src/z3c/authenticator/credential.py	2010-01-26 17:21:07 UTC (rev 108534)
@@ -243,7 +243,7 @@
       >>> plugin.extractCredentials(request)
       {'login': 'luke', 'password': 'the_force'}
 
-    We can also set prefixes for the fields from which the credentials are 
+    We can also set prefixes for the fields from which the credentials are
     extracted:
 
       >>> plugin.loginfield = "login"
@@ -323,7 +323,7 @@
 
         To illustrate how a session plugin works, we'll first setup some session
         machinery:
-    
+
           >>> from zope.app.testing import placelesssetup
           >>> from z3c.authenticator.testing import sessionSetUp
           >>> placelesssetup.setUp()
@@ -437,6 +437,7 @@
         # should not get exposed in the login form url.
         session = ISession(request, None)
         sessionData = session['z3c.authenticator.credential.session']
+        # XXX: this might be problematic with non-ASCII html page names
         sessionData['camefrom'] = camefrom.replace(' ', '%20')
         return True
 



More information about the checkins mailing list