diff --git a/MediaBrowser.Api/ApiService.cs b/MediaBrowser.Api/ApiService.cs index 6b3c00ee2..25820f518 100644 --- a/MediaBrowser.Api/ApiService.cs +++ b/MediaBrowser.Api/ApiService.cs @@ -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); } }