The Free Software Media System - Server Backend & API
Update HttpListenerHost.cs
BaronGreenbacka44309f56f30
diff --git a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs b/Emby.Server.Implementations/HttpServer/HttpListenerHost.csindex 6860b7ecdf..7c0d06fb29 100644--- a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs+++ b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs@@ -106,12 +106,7 @@ namespace Emby.Server.Implementations.HttpServer{return _appHost.CreateInstance(type);}-- public object CreateInstance(Type type, object parameter)- {- return _appHost.CreateInstance(type, parameter);- }-+private static string NormalizeUrlPath(string path){if (path.Length > 0 && path[0] == '/')