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

_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to