GNOME Bugzilla – Bug 706568
rtsp-client: remove query part from the content-base url
Last modified: 2014-02-25 22:28:55 UTC
When the RTSP request url contains a query string (the meaning of query part in the RTSP url is not defined in RFC 2326), this query part will be a part of a content-base url string, terminated by a final "/" (this is a valid url format). The problem starts when the relative url (control url in SDP) is about to be resolved => the control url becomes a part of a query string in the final url. Possible solutions to this problem: 1. remove the query part from the content-base string (the attached patch suggests this solution). 2. let the control url be an absolute url: this solution simplifies the whole process of resolving the relative url (see http://tools.ietf.org/html/rfc1808, 4. Resolving Relative URLs, Step 2b).
Created attachment 252712 [details] [review] remove query patr from content-base url
commit ff10d24130d7a759f38a660fb87dfa3ae772a888 Author: Patricia Muscalu <patricia@axis.com> Date: Thu Aug 22 12:10:39 2013 +0200 rtsp-client: remove query part from content-base string Make sure that after the control url has been resolved, it's not a part of the query-string. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=706568