curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Deprecate falling back to http:// ?

From: Christopher Warner via curl-library <curl-library_at_cool.haxx.se>
Date: Wed, 19 Sep 2018 13:48:05 -0400

Please no, it'll likely be a huge headache all the way around.

On Wed, Sep 19, 2018 at 1:41 PM Ray Satiro via curl-library <
curl-library_at_cool.haxx.se> wrote:

> On 9/19/2018 5:02 AM, Daniel Stenberg via curl-library wrote:
> > The URL parser in libcurl accepts URLs without a scheme, the "text://"
> > part of URLs.
> >
> > If no scheme is specified, libcurl guesses which scheme that was
> > intended based on some basic hueristics and if nothing matches it
> > falls back to plain old "http://".
> >
> > In this day and age of growing HTTPS use and slow decay of plain HTTP,
> > maybe it is time to change the fallback in libcurl and make it instead
> > go with HTTPS if nothing else matches?
> >
> > I'm a little scared this might hurt a lot of users running scripts
> > relying on this since forever.
>
> I'm against it for the reason you mentioned, I consider it a breaking
> change.
>
> -------------------------------------------------------------------
> Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
> Etiquette: https://curl.haxx.se/mail/etiquette.html

-- 
Christopher Warner
@christophwarner <http://twitter.com/christophwarner>

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-09-19