aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--networking/wget.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/networking/wget.c b/networking/wget.c
index 2b9ba55c3..5b73b933b 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -592,6 +592,7 @@ int wget_main(int argc UNUSED_PARAM, char **argv)
if (use_proxy) {
proxy = getenv(target.is_ftp ? "ftp_proxy" : "http_proxy");
if (proxy && proxy[0]) {
+ server.user = NULL;
parse_url(proxy, &server);
} else {
use_proxy = 0;