api url fix

pull/702/head
LukePulverenti Luke Pulverenti luke pulverenti 12 years ago
parent faead199a5
commit 343be5a91c

@ -378,6 +378,8 @@ namespace MediaBrowser.Api
public static bool IsApiUrlMatch(string url, HttpListenerRequest request)
{
url = "/api/" + url;
return request.Url.LocalPath.EndsWith(url, StringComparison.OrdinalIgnoreCase);
}
}

Loading…
Cancel
Save