Commit 9a550597 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

HTTPd: do not reveal the username through as the realm (fixes: #2993)

(cherry picked from commit cd5c7ace)
parent a0fdf749
......@@ -2265,8 +2265,7 @@ static void* httpd_HostThread( void *data )
{
httpd_MsgAdd( answer,
"WWW-Authenticate",
"Basic realm=\"%s\"",
url->psz_user );
"Basic realm=\"VLC stream\"" );
/* We fail for all url */
b_auth_failed = true;
free( user );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment