Merge pull request #4057 from stianst/KEYCLOAK-4480

KEYCLOAK-4480 Fix re-encoding of query params in keycloak.js after re…
This commit is contained in:
Stian Thorgersen 2017-04-21 13:37:44 +02:00 committed by GitHub
commit 606c385f26

View file

@ -1228,7 +1228,7 @@
break;
default:
if (responseMode != 'query' || !handleQueryParam(param, queryParams[param], oauth)) {
oauth.newUrl += (oauth.newUrl.indexOf('?') == -1 ? '?' : '&') + param + '=' + queryParams[param];
oauth.newUrl += (oauth.newUrl.indexOf('?') == -1 ? '?' : '&') + param + '=' + encodeURIComponent(queryParams[param]);
}
break;
}