aboutsummaryrefslogtreecommitdiff
path: root/src/tool_setopt.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-08-15 10:46:27 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-08-15 10:46:27 +0200
commita96319ebb934ac8d3df4b88c8eb0d7ba00d5f883 (patch)
treedacbce1c3092220e96d0830795796c4517008ffc /src/tool_setopt.c
parenta5174b022bc8190eeda999418e7df56caa15b0c8 (diff)
proxy: reject attempts to use unsupported proxy schemes
I discovered some people have been using "https://example.com" style strings as proxy and it "works" (curl doesn't complain) because curl ignores unknown schemes and then assumes plain HTTP instead. I think this misleads users into believing curl uses HTTPS to proxies when it doesn't. Now curl rejects proxy strings using unsupported schemes instead of just ignoring and defaulting to HTTP.
Diffstat (limited to 'src/tool_setopt.c')
0 files changed, 0 insertions, 0 deletions