From f75fcf2985bf7ace36051f5d00a9f7c53e125a2b Mon Sep 17 00:00:00 2001 From: Darshit Shah <darnir@gnu.org> Date: Wed, 1 Dec 2021 23:38:12 +0100 Subject: [PATCH] * src/http.c (http_loop): Hide password when printing status with -nv Reported-By: Per Lundberg <perlun@gmail.com> Closes: #61492 --- src/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http.c b/src/http.c index 373a5eb6..c2a25eab 100644 --- a/src/http.c +++ b/src/http.c @@ -4796,7 +4796,7 @@ Remote file exists.\n\n")); number_to_static_string (hstat.len)); logprintf (LOG_NONVERBOSE, "%s URL:%s [%s] -> \"%s\" [%d]\n", - tms, u->url, number_to_static_string (hstat.len), + tms, url_string (u, URL_AUTH_HIDE_PASSWD), number_to_static_string (hstat.len), hstat.local_file, count); } ++numurls;