From 85ead8b38aa7e0de3ec0d3fed31222dd9075df2a Mon Sep 17 00:00:00 2001 From: Phil Brown Date: Wed, 16 Oct 2019 15:21:35 -0600 Subject: [PATCH] KEYCLOAK-11740: Fix debug message that does not properly handle single quotes according to java.text.MessageFormat, which in turn causes the replacement to not be handled. Signed-off-by: Phil Brown --- .../java/org/keycloak/adapters/AuthenticatedActionsHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapters/oidc/adapter-core/src/main/java/org/keycloak/adapters/AuthenticatedActionsHandler.java b/adapters/oidc/adapter-core/src/main/java/org/keycloak/adapters/AuthenticatedActionsHandler.java index e7124f171c..5840543d66 100755 --- a/adapters/oidc/adapter-core/src/main/java/org/keycloak/adapters/AuthenticatedActionsHandler.java +++ b/adapters/oidc/adapter-core/src/main/java/org/keycloak/adapters/AuthenticatedActionsHandler.java @@ -139,7 +139,7 @@ public class AuthenticatedActionsHandler { facade.getResponse().setHeader(CorsHeaders.ACCESS_CONTROL_EXPOSE_HEADERS, exposeHeaders); } } else { - log.debugv("cors validation not needed as we're not a secure session or origin header was null: {0}", facade.getRequest().getURI()); + log.debugv("cors validation not needed as we are not a secure session or origin header was null: {0}", facade.getRequest().getURI()); } return false; }