From 0897d969b1327d07ad9a9411cbb8ba6aec8d5ded Mon Sep 17 00:00:00 2001 From: mposolda Date: Wed, 5 Sep 2018 15:06:05 +0200 Subject: [PATCH] KEYCLOAK-7340 --- .../oidc/utils/OIDCRedirectUriBuilder.java | 8 ++++++-- .../rest/TestApplicationResourceProvider.java | 6 +++++- .../testsuite/oauth/AuthorizationCodeTest.java | 18 ++++++++++++++++++ 3 files changed, 29 insertions(+), 3 deletions(-) diff --git a/services/src/main/java/org/keycloak/protocol/oidc/utils/OIDCRedirectUriBuilder.java b/services/src/main/java/org/keycloak/protocol/oidc/utils/OIDCRedirectUriBuilder.java index 51219897f1..3b62fe13fc 100644 --- a/services/src/main/java/org/keycloak/protocol/oidc/utils/OIDCRedirectUriBuilder.java +++ b/services/src/main/java/org/keycloak/protocol/oidc/utils/OIDCRedirectUriBuilder.java @@ -18,6 +18,7 @@ package org.keycloak.protocol.oidc.utils; import org.keycloak.common.util.Encode; +import org.keycloak.common.util.HtmlUtils; import org.keycloak.common.util.KeycloakUriBuilder; import javax.ws.rs.core.MediaType; @@ -148,8 +149,11 @@ public abstract class OIDCRedirectUriBuilder { builder.append("
"); for (Map.Entry param : params.entrySet()) { - builder.append(" "); + builder.append(" "); } builder.append("