[MPlayer-dev-eng] [PATCH] fix parsing of rtsp urls with query string

Bertrand Baudet bertrand_baudet at yahoo.com
Tue May 13 09:52:20 CEST 2003


On Tuesday 13 May 2003 01:06, Felix Buenemann wrote:
> On Monday 12 May 2003 16:35, Felix Buenemann wrote:
> > here is a patch that throws away the query string of real rtsp urls
> > inside the network handling code.
> >
> > e.g. rtsp://server/blah.rm?somestuff=http://some/site.html becomes
> > rtsp://server/blah.rm.
> >
> > I am modifying the url->file string and I'm not sure this is allowed,
> > that's why I'm sending this as a string. Second way would be copying
> > url->file and operate on the copy.
>
> erm, I mean ...as a patch... maybe I thought about nice girls in string
> tanga when I wrote the mail, or just not enough coffee :))

...or too much something else :p


The fix is a specific case for your url.

It will not work properly with urls that actually use the query to pass
arguments values to the server. 
It would be interesting to know what the "real" client does in this case.
Do you have a test url, so I can sniff the network to see the requests?

It looks too specific to me to apply it without more investigation!
What do you think Ross?

Bertrand



More information about the MPlayer-dev-eng mailing list