summaryrefslogtreecommitdiffstats
path: root/main/busybox/wget-proxy-user.patch
blob: 1d06809525cbf907417c9d5289fef149c7e30326 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/networking/wget.c b/networking/wget.c
index 9d813dc..5977024 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -590,6 +590,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;