You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Bernhard Hablesreiter (JIRA)" <ji...@apache.org> on 2014/10/26 16:23:34 UTC
[jira] [Updated] (DELTASPIKE-753) Initial redirect does not encode
URL
[ https://issues.apache.org/jira/browse/DELTASPIKE-753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bernhard Hablesreiter updated DELTASPIKE-753:
---------------------------------------------
Description:
If an initial redirect to a page happens (because of the absence of a window-id), the URL is not encoded properly.
If one has URL-rewriting enabled for this page, it does not work anymore as the URL is not encoded.
It seems like this happens in ClientWindowHelper#handleInitialRedirect, where the url is not encoded via HttpServletResponse.encodeURL().
See: http://ocpsoft.org/support/topic/rewrite-with-deltaspike/#post-26500
was:
If an initial redirect to a page happens (because of the absence of a window-id), the URL is not encoded properly.
If one has URL-rewriting enabled for this page, it does not work anymore as the URL is not encoded.
It seems like this happens in ClientWindowHelper#handleInitialRedirect, where the url is not encoded via HttpServletResponse.encodeURL().
> Initial redirect does not encode URL
> ------------------------------------
>
> Key: DELTASPIKE-753
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-753
> Project: DeltaSpike
> Issue Type: Bug
> Components: JSF-Module
> Affects Versions: 1.0.3
> Environment: Myfaces 2.2.5, Wildfly 8.1
> Reporter: Bernhard Hablesreiter
>
> If an initial redirect to a page happens (because of the absence of a window-id), the URL is not encoded properly.
> If one has URL-rewriting enabled for this page, it does not work anymore as the URL is not encoded.
> It seems like this happens in ClientWindowHelper#handleInitialRedirect, where the url is not encoded via HttpServletResponse.encodeURL().
> See: http://ocpsoft.org/support/topic/rewrite-with-deltaspike/#post-26500
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)