Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1297

incorrect context generated for URLs with final slash

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0.3
    • Component/s: None
    • Labels:
      None

      Description

      When using a URL of the form "http://www.host.com/page/", rather than "http://www.host.com/page" (note the final slash), the context which gets generated and passed on to event handlers like onActivate( ) is an array with a single empty string, rather than an empty array.

      Attaching a small fix, including unit tests.

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              sdanig Daniel Gredler
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: