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

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

parent 2037bb71
...@@ -2265,8 +2265,7 @@ static void* httpd_HostThread( void *data ) ...@@ -2265,8 +2265,7 @@ static void* httpd_HostThread( void *data )
{ {
httpd_MsgAdd( answer, httpd_MsgAdd( answer,
"WWW-Authenticate", "WWW-Authenticate",
"Basic realm=\"%s\"", "Basic realm=\"VLC stream\"" );
url->psz_user );
/* We fail for all url */ /* We fail for all url */
b_auth_failed = true; b_auth_failed = true;
free( user ); 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