emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] url: Wrap cookie headers in url-http--encode-string.


From: Toke Høiland-Jørgensen
Subject: Re: [PATCH] url: Wrap cookie headers in url-http--encode-string.
Date: Thu, 08 Sep 2016 16:14:23 +0200

Dmitry Gutov <address@hidden> writes:

> On 07.09.2016 21:25, Toke Høiland-Jørgensen wrote:
>
>> Appears to be any request with an UTF-8 encoded payload that goes
>> to a host that has cookies stored.
>>
>> This snippet triggers the error for me if I replace example.org with a
>> domain that has cookies stored in ~/.emacs.d/url/cookies:
>>
>> (let* ((url-request-data (encode-coding-string "æøå" 'utf-8)))
>>        (url-retrieve-synchronously "http://example.org";))
>
> What are the contents of ~/.emacs.d/url/cookies in this example? Without them,
> the test case is hard to reproduce.

I believe you can generate that by first retriving a site that will set
a cookie (and making sure cookie support is enabled). At runtime they
are stored in url-cookie-storage or url-cookie-secure-storage.

-Toke



reply via email to

[Prev in Thread] Current Thread [Next in Thread]