[Repoze-dev] [issue60] repoze.who auth_tkt is broken when using string userid containing spaces

2009-04-14 Thread Raphael Slinckx
Raphael Slinckx r.slin...@whatever-company.com added the comment: It doesn't matter if it's a binary string or not, the point is to escape it properly to be stored in a cookie. __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue60

[Repoze-dev] [issue60] repoze.who auth_tkt is broken when using string userid containing spaces

2009-04-10 Thread Michael Pedersen
Michael Pedersen rep...@icelus.org added the comment: Attaching a patch that was made by mcdonc. I just updated the test cases. This patch should clear up the issue with the spaces pretty well entirely. I know it did for my use, anyway. __ Repoze Bugs

[Repoze-dev] [issue60] repoze.who auth_tkt is broken when using string userid containing spaces

2009-02-13 Thread Raphael Slinckx
New submission from Raphael Slinckx r.slin...@whatever-company.com: If you look at line 132 in auth_tkt.py: ticket = auth_tkt.AuthTicket([...]) new_cookie_value = ticket.cookie_value() [...] return self._get_cookies(environ, new_cookie_value) The value of the cookie is computed using paste's