mirror of
https://github.com/curl/curl.git
synced 2026-07-16 07:27:15 +03:00
libcurl: Restrict redirect schemes (follow-up)
- Allow FTPS on redirect.
- Update default allowed redirect protocols in documentation.
Follow-up to 6080ea0.
Ref: https://github.com/curl/curl/pull/4094
Closes https://github.com/curl/curl/pull/4115
This commit is contained in:
parent
647e726d78
commit
e8442e4ffc
7 changed files with 18 additions and 16 deletions
|
|
@ -1574,8 +1574,7 @@ typedef enum {
|
|||
|
||||
/* set the bitmask for the protocols that libcurl is allowed to follow to,
|
||||
as a subset of the CURLOPT_PROTOCOLS ones. That means the protocol needs
|
||||
to be set in both bitmasks to be allowed to get redirected to. Defaults
|
||||
to all protocols except FILE and SCP. */
|
||||
to be set in both bitmasks to be allowed to get redirected to. */
|
||||
CINIT(REDIR_PROTOCOLS, LONG, 182),
|
||||
|
||||
/* set the SSH knownhost file name to use */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue