You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wink.apache.org by "Bryant Luk (JIRA)" <ji...@apache.org> on 2009/10/20 17:40:59 UTC

[jira] Resolved: (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 ]

Bryant Luk resolved WINK-217.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 0.2

This should have been fixed in trunk and picked up in the 1.0 release candidates.  Should also be in the 0.2 builds.

> 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
>            Assignee: Bryant Luk
>             Fix For: 0.2
>
>         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.