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

Infinite loop in wildcard mapping

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.3.9
    • 1.3.12, 1.4.0
    • Core
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: