2
0
LukePulverenti Luke Pulverenti luke pulverenti 12 жил өмнө
parent
commit
343be5a91c

+ 2 - 0
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);
         }
     }