From b150f0a9c8990a9689242c9056c7a15366afacc7 Mon Sep 17 00:00:00 2001 From: Thomas Andraschko Date: Wed, 28 Feb 2024 11:55:28 +0100 Subject: [PATCH] try to workaround mojarra encodeRedirectURL bug --- .../org/apache/deltaspike/jsf/impl/util/ClientWindowHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/util/ClientWindowHelper.java b/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/util/ClientWindowHelper.java index 62ce73bca..ded719690 100644 --- a/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/util/ClientWindowHelper.java +++ b/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/util/ClientWindowHelper.java @@ -77,7 +77,7 @@ public static String constructRequestUrl(FacesContext facesContext, ExternalCont // let's reuse the logic from MyFaces instead HttpServletResponse servletResponse = (HttpServletResponse) externalContext.getResponse(); - servletResponse.encodeRedirectURL(encodeURL(url, facesContext, servletResponse.getCharacterEncoding())); + url = servletResponse.encodeRedirectURL(encodeURL(url, facesContext, servletResponse.getCharacterEncoding())); return url; }