diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-11-16 14:20:36 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-11-16 15:15:57 +0100 |
commit | 342aa4797edfabba78755e798d23a5b6d288d50b (patch) | |
tree | c9607e88e05cef2f5084f6428151c5de52ee2fc4 /docs/cmdline-opts/proto-redir.d | |
parent | c3c1e9618513d245861c35ec0c563ab71ce892bb (diff) |
cmdline-docs: more conversion
Diffstat (limited to 'docs/cmdline-opts/proto-redir.d')
-rw-r--r-- | docs/cmdline-opts/proto-redir.d | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/cmdline-opts/proto-redir.d b/docs/cmdline-opts/proto-redir.d new file mode 100644 index 000000000..c9eeeab1d --- /dev/null +++ b/docs/cmdline-opts/proto-redir.d @@ -0,0 +1,17 @@ +Long: proto-redir +Arg: <protocols> +Help: Enable/disable PROTOCOLS on redirect +Added: 7.20.2 +--- +Tells curl to limit what protocols it may use on redirect. Protocols denied by +--proto are not overridden by this option. See --proto for how protocols are +represented. + +Example, allow only HTTP and HTTPS on redirect: + + curl --proto-redir -all,http,https http://example.com + +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. |