From 59391f58ec7a8d55fe21dd861b9cbcac5522121c Mon Sep 17 00:00:00 2001 From: yawka Date: Thu, 7 Nov 2013 19:06:25 +0200 Subject: [PATCH] Remove previous fix, and move it to IsReservedPathOrUrl --- src/Umbraco.Core/IO/IOHelper.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Umbraco.Core/IO/IOHelper.cs b/src/Umbraco.Core/IO/IOHelper.cs index bb23cde56e..9f917f18a7 100644 --- a/src/Umbraco.Core/IO/IOHelper.cs +++ b/src/Umbraco.Core/IO/IOHelper.cs @@ -43,9 +43,6 @@ namespace Umbraco.Core.IO //Replaces tildes with the root dir public static string ResolveUrl(string virtualPath) { - if (string.IsNullOrWhiteSpace(virtualPath)) - return string.Empty; - if (virtualPath.StartsWith("~")) return virtualPath.Replace("~", SystemDirectories.Root).Replace("//", "/"); else if (Uri.IsWellFormedUriString(virtualPath, UriKind.Absolute))