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; }