|
From: | Stefan Monnier |
Subject: | Re: [PATCH] url: Wrap cookie headers in url-http--encode-string. |
Date: | Thu, 08 Sep 2016 13:47:46 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> If that file is guaranteed to be pure ASCII, we can indeed force the > string returned by url-cookie-generate-header to be unibyte. > Otherwise we need to encode it. AFAIK the cookie data is "sequence of bytes", i.e. not "pure ASCII". And yes the domain names may include non-ASCII characters, so we have to encode those somehow (unless the URL library already encodes them for us before url-cookie receives them). Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |