diff --git a/core/src/utilities/helpers/routing-helpers.js b/core/src/utilities/helpers/routing-helpers.js index d282445abe..d06afa9d7d 100644 --- a/core/src/utilities/helpers/routing-helpers.js +++ b/core/src/utilities/helpers/routing-helpers.js @@ -163,12 +163,12 @@ class RoutingHelpersClass { getModalPathFromPath() { const path = this.getQueryParam(this.getModalViewParamName()); - return path && decodeURIComponent(path); + return path; } getModalParamsFromPath() { const modalParamsStr = this.getQueryParam(`${this.getModalViewParamName()}Params`); - return modalParamsStr && JSON.parse(decodeURIComponent(modalParamsStr)); + return modalParamsStr && JSON.parse(modalParamsStr); } addRouteChangeListener(callback) {