static resource URLs are now case sensitive.

This commit is contained in:
kay.one 2013-07-23 23:26:10 -07:00
commit 478caf15f8
16 changed files with 127 additions and 84 deletions

View file

@ -32,10 +32,10 @@ namespace NzbDrone.Api.Frontend
public string Map(string resourceUrl)
{
var path = resourceUrl.Replace('/', Path.DirectorySeparatorChar);
path = path.Trim(Path.DirectorySeparatorChar).ToLower();
path = path.Trim(Path.DirectorySeparatorChar);
return Path.Combine(_appFolderInfo.StartUpFolder, "ui", path);
return Path.Combine(_appFolderInfo.StartUpFolder, "UI", path);
}
public bool CanHandle(string resourceUrl)