From b395d1a049ff87edacd96bfdd01e503ebe1f2682 Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Wed, 6 Jul 2016 11:04:27 +0200 Subject: [PATCH] Alias is already running through ToSafeAlias, doesn't need UrlEncoding --- .../umbraco/create/stylesheetPropertyTasks.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web/umbraco.presentation/umbraco/create/stylesheetPropertyTasks.cs b/src/Umbraco.Web/umbraco.presentation/umbraco/create/stylesheetPropertyTasks.cs index fe589a6dbb..2755b3501c 100644 --- a/src/Umbraco.Web/umbraco.presentation/umbraco/create/stylesheetPropertyTasks.cs +++ b/src/Umbraco.Web/umbraco.presentation/umbraco/create/stylesheetPropertyTasks.cs @@ -18,7 +18,7 @@ namespace umbraco s.AddProperty(new StylesheetProperty(Alias, "." + Alias.ToSafeAlias(), "")); ApplicationContext.Current.Services.FileService.SaveStylesheet(s); - _returnUrl = string.Format("settings/stylesheet/property/EditStyleSheetProperty.aspx?id={0}&prop={1}", HttpUtility.UrlEncode(s.Path), HttpUtility.UrlEncode(Alias)); + _returnUrl = string.Format("settings/stylesheet/property/EditStyleSheetProperty.aspx?id={0}&prop={1}", HttpUtility.UrlEncode(s.Path), Alias); return true; }