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

incorrect context generated for URLs with final slash

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.0
    • 5.0.3
    • None
    • 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

            hlship Howard Lewis Ship
            sdanig Daniel Gredler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: