After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 706568 - rtsp-client: remove query part from the content-base url
rtsp-client: remove query part from the content-base url
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-rtsp-server
1.0.6
Other Linux
: Normal normal
: 1.2.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-08-22 10:22 UTC by Patricia Muscalu
Modified: 2014-02-25 22:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
remove query patr from content-base url (1.33 KB, patch)
2013-08-22 10:23 UTC, Patricia Muscalu
none Details | Review

Description Patricia Muscalu 2013-08-22 10:22:13 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).
Comment 1 Patricia Muscalu 2013-08-22 10:23:05 UTC
Created attachment 252712 [details] [review]
remove query patr from content-base url
Comment 2 Wim Taymans 2013-08-23 10:24:29 UTC
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