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
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.