[FFmpeg-devel] [PATCH] Don't include user/pass in the RTSP request URLs

Martin Storsjö martin
Mon Mar 22 20:02:51 CET 2010


Hi,

When using username/password in RTSP, the username and passwords are part 
of the URL set to s->filename. Each RTSP request includes the whole URL, 
but the username/password doesn't need to be included in plaintext there 
(especially if using digest auth...).

Additionally, the current code for stripping out the RTSP specific options 
(?tcp/udp etc) modifies the user-set s->filename field, which iirc is a 
no-no. This patch makes it update the local copy in the path buffer, used 
for reconstructing rt->control_uri.

// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtsp-remove-auth.patch
Type: text/x-diff
Size: 2262 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100322/bd6fba69/attachment.patch>



More information about the ffmpeg-devel mailing list