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: Dmitry Gutov
Subject: Re: [PATCH] url: Wrap cookie headers in url-http--encode-string.
Date: Thu, 8 Sep 2016 17:06:52 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Thunderbird/49.0

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.



reply via email to

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