diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2015-08-18 01:18:27 -0400 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2015-08-18 01:38:07 -0400 |
commit | 1f1f131e09d2a9cd3d5859d321a1ec9b127f0a78 (patch) | |
tree | 27dd22f0a97f90ebff61a4f56d472b87e75913f8 /docs/curl.1 | |
parent | 9518139c73452251b5ea4371d41cc3fa4532a0f9 (diff) |
docs: Update the redirect protocols disabled by default
- Clarify that FILE and SCP are disabled by default since 7.19.4
- Add that SMB and SMBS are disabled by default since 7.40.0
- Add CURLPROTO_SMBS to the list of protocols
Diffstat (limited to 'docs/curl.1')
-rw-r--r-- | docs/curl.1 | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/docs/curl.1 b/docs/curl.1 index dd17f5512..be41d25b7 100644 --- a/docs/curl.1 +++ b/docs/curl.1 @@ -1313,8 +1313,20 @@ as concatenating the protocols into one instance of the option. (Added in 7.20.2) .IP "--proto-redir <protocols>" -Tells curl to use the listed protocols after a redirect. See --proto for -how protocols are represented. +Tells curl to use the listed protocols on redirect. See --proto for how +protocols are represented. + +Example: + +.RS +.IP "--proto-redir -all,http,https" +Allow only HTTP and HTTPS on redirect. +.RE + +By default curl 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. Specifying \fIall\fP or \fI+all\fP enables all +protocols on redirect, including those disabled for security. (Added in 7.20.2) .IP "--proxy-anyauth" |