Replying to [ticket:2453 chrisz]:
> In this case, the utf-8 char is in the cookie set by repoze.what.authtkt
which includes the utf-8 encoded user name in the 'authtkt' cookie.
Just a quick correction: It's a repoze.who built-in plugin (auth_tkt) the
one in charge of that. ;-)
--
Ticket URL: <http://trac.turbogears.org/ticket/2453#comment:1>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
This seems to be caused by Paste trying to get a unicode representation of
a webob.Request which has utf-8 chars in it. Unfortunately, Paste cannot
deal with such requests (see [http://groups.google.de/group/paste-
users/browse_thread/thread/a5de15e6b46873ea here]).
In this case, the utf-8 char is in the cookie set by repoze.what.authtkt
which includes the utf-8 encoded user name in the 'authtkt' cookie. (Maybe
repoze.what.authtkt should better convert the cookie to a pure 7-bit
representation like the standard Python Cookie lib does?)
The reason why Paste tries to get a representation of the request seems to
have something to do with the add_dbsession_remover_middleware method in
turbogears.configuration.
--
Ticket URL: <http://trac.turbogears.org/ticket/2453>
* milestone: 2.1 => 2.1b2
--
Ticket URL: <http://trac.turbogears.org/ticket/2453#comment:2>
* status: new => closed
* resolution: => fixed
--
Ticket URL: <http://trac.turbogears.org/ticket/2453#comment:3>
Sorry, I overlooked that you reopened this again, so I guess this was only
a mistake.
--
Ticket URL: <http://trac.turbogears.org/ticket/2453#comment:6>
* status: closed => reopened
* resolution: fixed =>
--
Ticket URL: <http://trac.turbogears.org/ticket/2453#comment:4>
Where and how has this been solved? Please always record a hint for us
when closing a ticket.
--
Ticket URL: <http://trac.turbogears.org/ticket/2453#comment:5>
* severity: normal => blocker
--
Ticket URL: <http://trac.turbogears.org/ticket/2453#comment:7>