Hi, list...

I'm using AuthKit in my application and seem to have trouble when the
login form gets me the username as a Unicode string. I use the famous
line:

form_username = request.params.get('username')
request.environ['paste.auth_tkt.set_user'](form_username)

This leads to Unicode errors (I currently cannot reproduce it). Things
start to work though when I run str() on the Unicode string before:

form_username = str(request.params.get('username'))
request.environ['paste.auth_tkt.set_user'](form_username)

Does AuthKit have trouble with Unicode strings in general? Or am I
missing a configuration option?

Kindly
 Christoph
-- 
Peer review means that you can feel better because someone else
missed the problem, too.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to