mirror of
https://github.com/curl/curl.git
synced 2026-08-25 03:33:30 +03:00
docs: Remove that --proto is just used for initial retrieval
.. and add that --proto-redir and CURLOPT_REDIR_PROTOCOLS do not override protocols denied by --proto and CURLOPT_PROTOCOLS. - Add a test to enforce: --proto deny must override --proto-redir allow Closes https://github.com/curl/curl/pull/1031
This commit is contained in:
parent
82279c82c8
commit
36e53ec6ff
4 changed files with 73 additions and 7 deletions
|
|
@ -34,6 +34,9 @@ redirect when \fICURLOPT_FOLLOWLOCATION(3)\fP is enabled. This allows you to
|
|||
limit specific transfers to only be allowed to use a subset of protocols in
|
||||
redirections.
|
||||
|
||||
Protocols denied by \fICURLOPT_PROTOCOLS(3)\fP are not overridden by this
|
||||
option.
|
||||
|
||||
By default libcurl will allow 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. \fICURLPROTO_ALL\fP enables all protocols on
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue