Google Groups Home
Help | Sign in
Message from discussion Identity bug? Passing non-ASCII characters as kwargs to a handler with @identity.require(identity.not _anonymous()) gives internal server error
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Thomas Wittek  
View profile
 More options Nov 15 2007, 8:30 am
From: Thomas Wittek <streawkc...@googlemail.com>
Date: Thu, 15 Nov 2007 05:30:26 -0800 (PST)
Local: Thurs, Nov 15 2007 8:30 am
Subject: Re: Identity bug? Passing non-ASCII characters as kwargs to a handler with @identity.require(identity.not_anonymous ()) gives internal server error
On Nov 15, 11:19 am, Adi <fanet...@gmail.com> wrote:

> IN turbogears\visit\api.py
>   IN class VisitFilter(BaseFilter):
>     IN def before_main(self):

> adding at the end of before_main (line 165 for TG 1.0.0.2):

> for k,v in cherrypy.request.params.iteritems():
>     cherrypy.request.params[k]=v.encode('utf-8')

Doesn't work for me (TG 1.0.4b2).
Maybe I inserted the code at the wrong position?
I added it before:

        try:
            for plugin in _plugins:
                plugin.record_request(visit)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google