Gustavo Narea wrote:
> Hello,
>
> Authorization-related messages are no longer flashed in TG2 trunk. Could this 
> be related to the modifications to the flash() function lately?
>   

That's most probable since the flash payload is now passed in a cookie 
and this cookie is lost somewhere in the middleware stack if the 
response's status is a 401. This doesn't affect only flash but can 
potentially affect any application using cookies. I've just comited a 
FIXME test to prove it:

http://trac.turbogears.org/changeset/6135

My guess is that repoze.who's RedirectFormPlugin is not copying the 
cookies from the 401 response when traps it and redirects to the login 
handler but I need to confirm it. Will try to that tomorrow.

Alberto


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to