Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc: CURLOPT_REDIR_PROTOCOLS defaults in conflict with description #4943

Closed
joneskoo opened this issue Feb 18, 2020 · 0 comments
Closed

Doc: CURLOPT_REDIR_PROTOCOLS defaults in conflict with description #4943

joneskoo opened this issue Feb 18, 2020 · 0 comments

Comments

@joneskoo
Copy link

https://curl.haxx.se/libcurl/c/CURLOPT_REDIR_PROTOCOLS.html

The DEFAULTS seems to be contradicting the DESCRIPTION section:

By default libcurl will allow HTTP, HTTPS, FTP and FTPS on redirect (7.65.2). Older versions of libcurl allowed all protocols on redirect except several disabled for security reasons: Since 7.19.4 FILE and SCP are disabled, and since 7.40.0 SMB and SMBS are also disabled. CURLPROTO_ALL enables all protocols on redirect, including those disabled for security.

DEFAULT

All protocols except for FILE, SCP and since 7.40.0 SMB and SMBS.

bagder added a commit that referenced this issue Feb 18, 2020
to be in sync with the description above

Reported-by: Joonas Kuorilehto
Fixes #4943
@bagder bagder closed this as completed in d79ee4a Feb 18, 2020
@lock lock bot locked as resolved and limited conversation to collaborators May 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging a pull request may close this issue.

2 participants