Alberto Valverde wrote:
> Confirmed. The following patch makes the test pass so it will probably
> fix the flash issue:
>
> Index: repoze/who/plugins/form.py
> ===================================================================
> --- repoze/who/plugins/form.py (revision 3293)
> +++ repoze/who/plugins/form.py (working copy)
> @@ -190,7 +190,8 @@
> url_parts[4] = urllib.urlencode(query_elements, doseq=True)
> login_form_url = urlparse.urlunparse(url_parts)
> headers = [ ('Location', login_form_url) ]
> - headers = headers + forget_headers
> + cookies = [(h,v) for (h,v) in app_headers if h.lower() ==
> 'set-cookie']
> + headers = headers + forget_headers + cookies
> return HTTPFound(headers=headers)
>
> It's late here, I'll send a proper patch tomorrow to the repoze people
> tomorrow with a test case hopefully.
>
> Alberto
>
> P.S: Cc'ing them in case a kind soul wants to beat me to it while I'm
> asleep :)
I checked this in (with a test) to the repoze.who trunk.
Thanks!
- C
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---