From c7aacf6f9fe8a25e47f82b956a5431c3768adbf2 Mon Sep 17 00:00:00 2001 From: Sebastien Ros Date: Fri, 13 Jun 2014 11:37:32 -0700 Subject: [PATCH] #20681, #20598: Fixing Media Profiles path encoding Work Items: 20681, 20598 --- .../Orchard.MediaProcessing/Services/ImageProfileManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Orchard.Web/Modules/Orchard.MediaProcessing/Services/ImageProfileManager.cs b/src/Orchard.Web/Modules/Orchard.MediaProcessing/Services/ImageProfileManager.cs index d572c053b..34ef77556 100644 --- a/src/Orchard.Web/Modules/Orchard.MediaProcessing/Services/ImageProfileManager.cs +++ b/src/Orchard.Web/Modules/Orchard.MediaProcessing/Services/ImageProfileManager.cs @@ -111,7 +111,7 @@ namespace Orchard.MediaProcessing.Services { using (var image = GetImage(path)) { - var filterContext = new FilterContext { Media = image, FilePath = _storageProvider.Combine("_Profiles", FormatProfilePath(profileName, path)) }; + var filterContext = new FilterContext { Media = image, FilePath = _storageProvider.Combine("_Profiles", FormatProfilePath(profileName, System.Web.HttpUtility.UrlDecode(path))) }; if (image == null) { return filterContext.FilePath;