Re: HTTP URI in the form of "http://example.com?query"

How about we add some cautionary notes on this kind of URIs:
1. consumers must accept them
2. producers should not produce them
3. a middle man should add the slash before forwarding it to others.

Zhong Yu


On Tue, Jun 4, 2013 at 5:19 AM, Daniel Stenberg <daniel@haxx.se> wrote:
> On Tue, 4 Jun 2013, Julian Reschke wrote:
>
>> Yes, but what's the exact breakage except for one component not processing
>> that edge case? It's an edge case after all?
>
>
> I only recently got a bug report for curl as when we got an input such as
> that and passed it to a particular (unspecified) proxy it would reject it as
> illegal.
>
> Thus curl nowadays will insert a slash before passing on the URL to a proxy.
>
> --
>
>  / daniel.haxx.se

Received on Tuesday, 4 June 2013 15:39:09 UTC