[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: url-http.el: Set cookies in the order they were sent.
From: |
Chong Yidong |
Subject: |
Re: url-http.el: Set cookies in the order they were sent. |
Date: |
Sun, 01 Apr 2007 11:39:38 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (gnu/linux) |
Diane Murray <address@hidden> writes:
> In `url-http-handle-cookies', `mail-fetch-field' returns a list of
> Set-Cookie headers in reverse, and the cookies are then set in that
> order. This causes problems when a site tries to set the same cookie
> more than once (with different values) in a single response, for
> example, if a certain site "deletes" then sets the real value of some
> session cookies all in one request.
>
> This can be fixed by calling `reverse' on the list of cookies before
> setting them.
Thanks, I've checked it in.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: url-http.el: Set cookies in the order they were sent.,
Chong Yidong <=