You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wink.apache.org by "Mike Rheinheimer (JIRA)" <ji...@apache.org> on 2009/10/12 21:42:31 UTC

[jira] Updated: (WINK-217) runtime should tolerate @Path("") and @Path("/")

     [ https://issues.apache.org/jira/browse/WINK-217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Rheinheimer updated WINK-217:
----------------------------------

    Attachment: WINK_217.patch

> runtime should tolerate @Path("") and @Path("/")
> ------------------------------------------------
>
>                 Key: WINK-217
>                 URL: https://issues.apache.org/jira/browse/WINK-217
>             Project: Wink
>          Issue Type: Bug
>            Reporter: Mike Rheinheimer
>         Attachments: WINK_217.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.