diff --git a/content/src/content/jcr_root/apps/core/wcm/components/search/v1/search/clientlibs/site/js/search.js b/content/src/content/jcr_root/apps/core/wcm/components/search/v1/search/clientlibs/site/js/search.js index 5f8467e01c..be2de58550 100644 --- a/content/src/content/jcr_root/apps/core/wcm/components/search/v1/search/clientlibs/site/js/search.js +++ b/content/src/content/jcr_root/apps/core/wcm/components/search/v1/search/clientlibs/site/js/search.js @@ -289,7 +289,7 @@ Search.prototype._safeHref = function(href) { var a = document.createElement("a"); a.href = href; - return encodeURI(a.pathname); + return a.pathname; }; Search.prototype._markResults = function() { diff --git a/content/src/content/jcr_root/apps/core/wcm/components/search/v2/search/clientlibs/site/js/search.js b/content/src/content/jcr_root/apps/core/wcm/components/search/v2/search/clientlibs/site/js/search.js index b784377f6f..8d4fa6e4bd 100644 --- a/content/src/content/jcr_root/apps/core/wcm/components/search/v2/search/clientlibs/site/js/search.js +++ b/content/src/content/jcr_root/apps/core/wcm/components/search/v2/search/clientlibs/site/js/search.js @@ -301,7 +301,7 @@ Search.prototype._safeHref = function(href) { var a = document.createElement("a"); a.href = href; - return encodeURI(a.pathname); + return a.pathname; }; Search.prototype._markResults = function() {