Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-1798

DefaultViewHandlerSupports fails detecting extension if there are dots in the path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 1.2.2
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            imario Mario Ivankovits
            imario Mario Ivankovits
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: