From cb51da1e4ea22eacab0cd3c746ffb26d15b409b1 Mon Sep 17 00:00:00 2001 From: Matthias Osswald Date: Mon, 28 May 2018 14:52:44 +0200 Subject: [PATCH] [FIX] Theming Parameters: Improve inline parameters decoding See: https://github.com/SAP/less-openui5/pull/23 BCP: 1880276569 CR-Id: 002075125900002498442018 Change-Id: I40644af9417128fbba940b874f0e5572067647ab (cherry picked from commit ca3b4482a521ff7f439e6faf772eccf0d82ad900) --- src/sap.ui.core/src/sap/ui/core/theming/Parameters.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sap.ui.core/src/sap/ui/core/theming/Parameters.js b/src/sap.ui.core/src/sap/ui/core/theming/Parameters.js index 118698ad693b..da2d80ac2c2b 100644 --- a/src/sap.ui.core/src/sap/ui/core/theming/Parameters.js +++ b/src/sap.ui.core/src/sap/ui/core/theming/Parameters.js @@ -139,7 +139,7 @@ sap.ui.define(['jquery.sap.global', 'sap/ui/thirdparty/URI', '../Element'], // decode only if necessary if (sParams.charAt(0) !== "{" && sParams.charAt(sParams.length - 1) !== "}") { try { - sParams = decodeURI(sParams); + sParams = decodeURIComponent(sParams); } catch (ex) { jQuery.sap.log.warning("Could not decode theme parameters URI from " + sUrl); }