Remove leading / from baseurl

pull/2019/head
Bond_009 5 years ago
parent c87f459ec2
commit 5ee070eb29

@ -220,7 +220,7 @@ namespace Emby.Dlna.Api
{
index++;
}
else if (string.Equals(first, baseUrl))
else if (string.Equals(first, baseUrl.Remove(0, 1)))
{
index++;
var second = pathInfo[1];

@ -306,7 +306,7 @@ namespace MediaBrowser.Api
{
index++;
}
else if (string.Equals(first, baseUrl))
else if (string.Equals(first, baseUrl.Remove(0, 1)))
{
index++;
var second = pathInfo[1];

Loading…
Cancel
Save