[Bug 725137] New: hlsdemux fails to compute media playlist URL if there is a query parameter

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Feb 25 03:41:51 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=725137
  GStreamer | gst-plugins-bad | git

           Summary: hlsdemux fails to compute media playlist URL if there
                    is a query parameter
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: bugzilla at ashley-family.net
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


If the URL for the master manifest files contains a '/' character in the query
parameter (for example
http://example.net/1054559_h264_1500k.mp4/master.m3u8?acl=/*1054559_h264_1500k.mp4),
hlsdemux is incorrectly converting the relative URLs of the media playlists in
to absolute URLs. It is incorrectly using the last '/' it finds in the URL. 

Using the above example master m3u8, a relative media playlist url of
"media.m3u8" is being incorrectly resolved as:
http://example.net/1054559_h264_1500k.mp4/master.m3u8?acl=/media.m3u8

It should be:
http://example.net/1054559_h264_1500k.mp4/media.m3u8

According to RFC3986 the '/' character is allowed in the query part of the URL.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list