[
https://issues.apache.org/jira/browse/MYFACES-3726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13664141#comment-13664141
]
José Luis Cetina (maxtorzito) commented on MYFACES-3726:
--------------------------------------------------------
The url is: https://github.com/maxtorzito/tomee-codi , just remove the )
> root context induces wrong urls
> -------------------------------
>
> Key: MYFACES-3726
> URL: https://issues.apache.org/jira/browse/MYFACES-3726
> Project: MyFaces Core
> Issue Type: Bug
> Reporter: Romain Manni-Bucau
>
> When the webapp context is root ("/") its name is still appended before the
> urls (i didn't check all cases) so we end up with urls like //index.xhtml
> which makes the navigation not working anymore.
> I'm sure it happens at least in
> org.apache.myfaces.shared.application.DefaultViewHandlerSupport#calculateActionURL
> where
> builder.append(contextPath);
> should be replaced by
> if (!"/".equals(contextPath)) {
> builder.append(contextPath);
> }
> We saw this issue in tomee (here a sample to reproduce it
> https://github.com/maxtorzito/tomee-codi)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira