Uploaded image for project: 'Wink'
  1. Wink
  2. WINK-214

UriTemplateMatcher should tolerate empty @PathParam segments

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0
    • 1.0
    • Common
    • None
    • Patch Available

    Description

      If a @Path is specified as such:

      @Path("/first

      {firstParams:.*}

      /second

      {secondParams:.*}

      ")

      We should be able to tolerate empty path part of the PathParam. In other words, if only matrix params are sent, we should tolerate that:

      http://localhost/p/first;name=bob/second;eyes=blue

      Please see patch with test.

      Attachments

        1. WINK_214.patch
          4 kB
          Michael Rheinheimer

        Activity

          People

            bluk Bryant Luk
            rott Michael Rheinheimer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: