diff options
author | Peter Lloyd <l-busybox@pgl22.co.uk> | 2018-03-05 00:17:02 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-03-05 00:19:33 +0100 |
commit | 804ce5a6fed63a2da6268a2d06f1ee2075435297 (patch) | |
tree | b72e3cdcd4245f4574dd1def927f38759077cb90 /editors/ed.c | |
parent | d9aabfe578e58ef8a884c402d6294edc8dfda883 (diff) | |
download | busybox-804ce5a6fed63a2da6268a2d06f1ee2075435297.tar.gz |
wget: fix fetching of https URLs with http proxy
When fetching a https:// URL with HTTP proxy configured
(e.g. with environment variable http_proxy=http://your-proxy:3128)
busybox was making a https connection to the proxy.
This was because the protocol scheme for the target URL was used to determine whether to connect to the proxy over SSL or not.
When the proxy is in use, the decision on whether to connect to the proxy over https
should based on the proxy URL not on the target URL.
function old new delta
wget_main 2381 2387 +6
Signed-off-by: Peter Lloyd <l-busybox@pgl22.co.uk>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'editors/ed.c')
0 files changed, 0 insertions, 0 deletions