Update HttpListenerHost.cs

This commit is contained in:
BaronGreenback 2020-07-17 12:54:13 +01:00 committed by GitHub
parent a44309f56f
commit 7cd4ae3b6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,7 +106,7 @@ namespace Emby.Server.Implementations.HttpServer
{
return _appHost.CreateInstance(type);
}
private static string NormalizeUrlPath(string path)
{
if (path.Length > 0 && path[0] == '/')