From 576a790e2f6aac10c88f9ad1333fb141c50e20e5 Mon Sep 17 00:00:00 2001 From: Pawel Bres Date: Sat, 4 Nov 2017 15:07:47 +0100 Subject: [PATCH] Removed '#' from 'value' when generating alias When '#' is presented in the 'value' everything in the GET URL after '#' gets removed because it's being treated as "hash" part of the URL and it's not being sent to the server at all. --- .../src/common/resources/entity.resource.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/common/resources/entity.resource.js b/src/Umbraco.Web.UI.Client/src/common/resources/entity.resource.js index f5e2748360d4..f4b0480b0f40 100644 --- a/src/Umbraco.Web.UI.Client/src/common/resources/entity.resource.js +++ b/src/Umbraco.Web.UI.Client/src/common/resources/entity.resource.js @@ -41,7 +41,7 @@ function entityResource($q, $http, umbRequestHelper) { if (!value) { return ""; } - + value = value.replace('#', ''); return umbRequestHelper.resourcePromise( $http.get( umbRequestHelper.getApiUrl(