curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Proposal: Removal of CURLPROTO_GOPHER from default redir_protocols

From: Linos Giannopoulos via curl-library <>
Date: Fri, 5 Jul 2019 17:44:25 +0300

On 7/5/19 1:46 PM, Daniel Stenberg wrote:

> On Thu, 4 Jul 2019, Linos Giannopoulos via curl-library wrote:
>> Therefore, I would propose to remove CURLPROTO_GOPHER from the
>> default value of CURLOPT_REDIR_PROTOCOLS
>> P.S: The same holds for other protocols such as CURLPROTO_DICT
> I approve.
> But how about instead discussing what protocols we should keep
> allowing by default? Is anyone ever using redirects (and expecting
> them to work) to anything but HTTP, HTTPS and FTP ?

I totally agree. This would stir towards more sane defaults for everyone
that will frankly never use such redirects.
Users will still be able to (explicitly) opt-in for other schemes anyway.

I'll prepare a PR for this and let everyone comment there, in case there
are objections.


Received on 2019-07-05