Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-3169

Infinite loop in wildcard mapping

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.3.9
    • Fix Version/s: 1.3.12, 1.4.0
    • Component/s: Core
    • Labels:
      None
    • Flags:
      Important

      Description

      I have that mapping:

      <action path="/page-*"
      type="ru.ryabko.actions.ShowPage"
      parameter="

      {1}

      ">
      <forward name="success" path="/page.jsp"/>
      </action>

      The application hang up in WildcardHelper.match() method if i construct URL like that:
      http://localhost/page-

      {0}

        Attachments

          Activity

            People

            • Assignee:
              pbenedict Paul Benedict
              Reporter:
              ryabko ryabko
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: