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

Empty url mapping prefix causes infinite loop in DefaultViewHandlerSupport.handlePrefixMapping

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.1
    • 2.0.2
    • JSR-314
    • None
    • Weblogic 10.3, Sun JAVA 1.6, Spring Framework 3.0.3, Spring Webflow 2.1.1

    Description

      The loop
      while (uri.startsWith(prefix) || uri.startsWith("//")) ...
      cannot end when prefix is empty string (which should be valid value).

      Attachments

        Activity

          People

            jakobkorherr Jakob Korherr
            mikee2185 Michal Dvorak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified