Reply To: Rewrite with Deltaspike

Splash Forums Rewrite Users Rewrite with Deltaspike Reply To: Rewrite with Deltaspike

#26445

bernhard
Participant

Hi!

I found this in org.apache.deltaspike.jsf.impl.util.ClientWindowHelper#handleInitialRedirect. If no dswid is provided, the initial redirect happens without rewriting the url.

I think something like:
url = ((HttpServletResponse)externalContext.getResponse()).encodeURL(url);
externalContext.redirect(url);

could do the trick. This worked but I’m not sure if there are other parts involved…

Best regards,
Bernhard