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

runtime should tolerate @Path("") and @Path("/")

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0
    • None
    • None

    Description

      Currently, we get an IndexOutOfBoundsException due to miscalculation of the path offset passed into UriTemplateMatcher.buildVariablesPathSegments

      Please see patch and fix.

      Original report came through the wink user list here: http://mail-archives.apache.org/mod_mbox/incubator-wink-user/200910.mbox/%3C54E8BE02CCDA404A8D6FB4538A32DA905E5A414118@GVW1120EXC.americas.hpqcorp.net%3E

      Possibly a 1.0 fix... though it's very late to be accepting a patch in such a critical code path. I'm ok with postponing this.

      Attachments

        1. WINK_217.patch
          8 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: