Mercurial > mplayer.hg
diff stream/network.c @ 32553:c44141d4e443
Do not keep authentication in URL on connection through a proxy
author | cboesch |
---|---|
date | Sun, 21 Nov 2010 16:52:22 +0000 |
parents | 6a629e6fdb09 |
children | 35eb07c24cda |
line wrap: on
line diff
--- a/stream/network.c Sun Nov 21 12:25:44 2010 +0000 +++ b/stream/network.c Sun Nov 21 16:52:22 2010 +0000 @@ -209,7 +209,7 @@ mp_msg(MSGT_NETWORK, MSGL_ERR, "Invalid URL '%s' to proxify\n", url->file+1); goto err_out; } - http_set_uri( http_hdr, server_url->url ); + http_set_uri( http_hdr, server_url->noauth_url ); } else { server_url = url; http_set_uri( http_hdr, server_url->file );