summaryrefslogtreecommitdiffstats
path: root/stream/network.c
diff options
context:
space:
mode:
authorcboesch <cboesch@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-11-21 16:52:22 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-12-16 04:27:56 +0200
commit9bf59a1fcb6de3fed117accaec60b6b0eaece17d (patch)
tree8314a84618eb3501d6515d3fc615460364127b72 /stream/network.c
parent5e6c4de69e157301204a543b108b40d513983e3e (diff)
downloadmpv-9bf59a1fcb6de3fed117accaec60b6b0eaece17d.tar.bz2
mpv-9bf59a1fcb6de3fed117accaec60b6b0eaece17d.tar.xz
stream/http: Do not keep authentication in URL when proxied
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32640 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/network.c')
-rw-r--r--stream/network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/network.c b/stream/network.c
index 184be96682..1da6f24ca9 100644
--- a/stream/network.c
+++ b/stream/network.c
@@ -210,7 +210,7 @@ http_send_request( URL_t *url, off_t pos ) {
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 );