[
https://issues.apache.org/jira/browse/MYFACES-1798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555567#action_12555567
]
Mario Ivankovits commented on MYFACES-1798:
-------------------------------------------
I think I fixed the last-dot-after-last-slash issue by searching and comparing
both character positions requiring the last dot after the last slash.
Regarding the double-extension issue. I'll leave this as room for improvements
by the community once required.
> DefaultViewHandlerSupports fails detecting extension if there are dots in the
> path
> ----------------------------------------------------------------------------------
>
> Key: MYFACES-1798
> URL: https://issues.apache.org/jira/browse/MYFACES-1798
> Project: MyFaces Core
> Issue Type: Bug
> Affects Versions: 1.2.0
> Reporter: Mario Ivankovits
> Assignee: Mario Ivankovits
> Fix For: 1.2.2-SNAPSHOT
>
>
> For example: With "/myStrange.path/view.jsp" the extension ".path/view.jsp"
> will be derived.
> In DefaultViewHandlerSupport a wrong regular expression is used to extract
> the extension.
> I'll try to change this to a simple string.lastIndexOf('.') as this should do
> exactly what we want.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.