From b56f8d8f819c2487c01c6b072e4e433b9b4a36d4 Mon Sep 17 00:00:00 2001 From: Chris Eccles Date: Tue, 4 May 2021 11:55:48 +0100 Subject: [PATCH] Ensuring that the URL escaping is done when image has been resized. --- Sdl.Web.Tridion/Statics/BinaryFileManager.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Sdl.Web.Tridion/Statics/BinaryFileManager.cs b/Sdl.Web.Tridion/Statics/BinaryFileManager.cs index 8c8adcf5..69d773b1 100644 --- a/Sdl.Web.Tridion/Statics/BinaryFileManager.cs +++ b/Sdl.Web.Tridion/Statics/BinaryFileManager.cs @@ -371,7 +371,9 @@ internal static string StripDimensions(string path, out Dimensions dimensions) { dimensions.NoStretch = true; } - return re.Replace(path, "."); + + //Git Hub Issue #84 + path = re.Replace(path, "."); } // TSI-417: unescape and only escape spaces