{"action":"created","issue":{"url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/1321","repository_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js","labels_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/1321/labels{/name}","comments_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/1321/comments","events_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/1321/events","html_url":"https://github.com/Dash-Industry-Forum/dash.js/issues/1321","id":147357276,"number":1321,"title":"Relative BaseURL at MPD level only do not resolve correctly","user":{"login":"bbcrddave","id":5390145,"avatar_url":"https://avatars.githubusercontent.com/u/5390145?v=3","gravatar_id":"","url":"https://api.github.com/users/bbcrddave","html_url":"https://github.com/bbcrddave","followers_url":"https://api.github.com/users/bbcrddave/followers","following_url":"https://api.github.com/users/bbcrddave/following{/other_user}","gists_url":"https://api.github.com/users/bbcrddave/gists{/gist_id}","starred_url":"https://api.github.com/users/bbcrddave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbcrddave/subscriptions","organizations_url":"https://api.github.com/users/bbcrddave/orgs","repos_url":"https://api.github.com/users/bbcrddave/repos","events_url":"https://api.github.com/users/bbcrddave/events{/privacy}","received_events_url":"https://api.github.com/users/bbcrddave/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-11T08:43:09Z","updated_at":"2016-04-12T06:40:53Z","closed_at":null,"body":"Say you serve the following manifest from http://www.example.com/dir/\r\n\r\n```\r\n<MPD>\r\n<BaseURL>../<BaseURL>\r\n\r\n...\r\n</MPD>\r\n```\r\n\r\nThe BaseURL should resolve to http://www.example.com/\r\n\r\nThere's a bug in the Base URL handling which assumes that MPD@BaseURL entries will always be absolute (or non-existent, which works fine). If these entries are relative, they fail to resolve as specified.\r\n\r\nThe workaround is to ensure MPD@BaseURL entries are absolute.\r\n\r\nThis problem only affects entries at the MPD level - all other levels work correctly.\r\n\r\nI hope to fix this tomorrow (Tuesday 12th) in time for 2.1.0 release."},"comment":{"url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/comments/208732533","html_url":"https://github.com/Dash-Industry-Forum/dash.js/issues/1321#issuecomment-208732533","issue_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/1321","id":208732533,"user":{"login":"bbcrddave","id":5390145,"avatar_url":"https://avatars.githubusercontent.com/u/5390145?v=3","gravatar_id":"","url":"https://api.github.com/users/bbcrddave","html_url":"https://github.com/bbcrddave","followers_url":"https://api.github.com/users/bbcrddave/followers","following_url":"https://api.github.com/users/bbcrddave/following{/other_user}","gists_url":"https://api.github.com/users/bbcrddave/gists{/gist_id}","starred_url":"https://api.github.com/users/bbcrddave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbcrddave/subscriptions","organizations_url":"https://api.github.com/users/bbcrddave/orgs","repos_url":"https://api.github.com/users/bbcrddave/repos","events_url":"https://api.github.com/users/bbcrddave/events{/privacy}","received_events_url":"https://api.github.com/users/bbcrddave/received_events","type":"User","site_admin":false},"created_at":"2016-04-12T06:40:53Z","updated_at":"2016-04-12T06:40:53Z","body":"Can you share your manifest?"}}