hlsdemux: tests: check URL joining if media URL contains a '/' character
authorAlex Ashley <bugzilla@ashley-family.net>
Tue, 10 Nov 2015 16:25:53 +0000 (16:25 +0000)
committerThiago Santos <thiagoss@osg.samsung.com>
Tue, 22 Dec 2015 14:15:32 +0000 (11:15 -0300)
commitebf6de33d2744fd68f6273e6f66dce94b8c3f552
treeac4bab9bd2606e52688db0cb6995ccc7fa5dfaf6
parentf6bff8f5f5ca14cae5774d79e7b7c4ac0542a67f
hlsdemux: tests: check URL joining if media URL contains a '/' character

If the query parameter (for example
http://example.net/1054559_1500k.mp4/master.m3u8?acl=/*1054559_1500k.mp4),
check that m3u8.c correctly converts the relative URLs of the media
playlists in to absolute URLs. It must not use the last '/' it finds in
the URL, as according to RFC3986 the '/' character is allowed in
the query part of the URL.

https://bugzilla.gnome.org/show_bug.cgi?id=758384
tests/check/elements/hlsdemux_m3u8.c