From 64a1b2d28d8ae8d03721d1965e1ce6df81a039da Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Wed, 9 Mar 2011 16:44:21 -0800 Subject: [PATCH] Normalize path will now just clean it up, no longer returns the string in all lower-case. --- NzbDrone.Core/Parser.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/NzbDrone.Core/Parser.cs b/NzbDrone.Core/Parser.cs index 42c07c880..4f2e5b6a8 100644 --- a/NzbDrone.Core/Parser.cs +++ b/NzbDrone.Core/Parser.cs @@ -183,6 +183,7 @@ namespace NzbDrone.Core } //Note: changing case on path is a problem for running on mono/*nix + //Not going to change the casing any more... Looks Ugly in UI anyways :P public static string NormalizePath(string path) { if (String.IsNullOrEmpty(path)) @@ -192,10 +193,10 @@ namespace NzbDrone.Core if (info.FullName.StartsWith(@"\\")) //UNC { - return info.FullName.ToLower().TrimEnd('/', '\\', ' '); + return info.FullName.TrimEnd('/', '\\', ' '); } - return info.FullName.ToLower().Trim('/', '\\', ' '); + return info.FullName.Trim('/', '\\', ' '); } public static NzbInfoModel ParseNzbInfo(FeedInfoModel feed, RssItem item)