diff --git a/plugins/sso-auth/lib/safprofile.js b/plugins/sso-auth/lib/safprofile.js index 12232d7b..c2bcb524 100644 --- a/plugins/sso-auth/lib/safprofile.js +++ b/plugins/sso-auth/lib/safprofile.js @@ -113,7 +113,7 @@ function makeProfileName(type, parms) { function makeProfileNameForRequest(url, method, instanceID) { let urlData; let type; - url = decodeURI(url); + url = url.split('/').map((part)=>{return decodeURIComponent(part);}).join('/'); if (!url.match(/^\/[A-Za-z0-9]+\/plugins\//)) { url = url.toUpperCase(); type = "core";