emacs-devel
[Top][All Lists]
Advanced

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

Re: Bug in url-retrieve-synchronously from url.el on redirect


From: Daniele Nicolodi
Subject: Re: Bug in url-retrieve-synchronously from url.el on redirect
Date: Fri, 10 Jul 2020 13:46:10 -0600
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.9.0

On 10/07/2020 13:37, Yuri Khan wrote:
> On Sat, 11 Jul 2020 at 01:49, Yuri Khan <yuri.v.khan@gmail.com> wrote:
>>
>> On Sat, 11 Jul 2020 at 01:18, Daniele Nicolodi <daniele@grinta.net> wrote:
>>
>>> url-retrieve-synchronously fails to obey redirect responses if the
>>> returned "Location" header contains spaces: it redirects to the URL
>>> truncated to the first space. It seems that spaces in the Location
>>> header value are allowed (at least ngnix produces headers like that).
>>
>> They are not, and you should report it as a bug against nginx. It
>> should be percent-encoding the space. It should also be
>> percent-encoding any non-ASCII characters.
> 
> Actually, I went along and reported it myself, with an example that
> clearly demonstrates a bug in nginx:
> 
> https://trac.nginx.org/nginx/ticket/2016

Thanks Yury! Much better than what I could have done.

Cheers,
Dan



reply via email to

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