You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2010/10/03 23:05:33 UTC

[jira] Resolved: (CXF-2888) [JAX-RS] URI template's final group is not correctly caught

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

Sergey Beryozkin resolved CXF-2888.
-----------------------------------

      Assignee: Sergey Beryozkin
    Resolution: Fixed

> [JAX-RS] URI template's final group is not correctly caught
> -----------------------------------------------------------
>
>                 Key: CXF-2888
>                 URL: https://issues.apache.org/jira/browse/CXF-2888
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.2.10
>            Reporter: Rice Yeh
>            Assignee: Sergey Beryozkin
>             Fix For: 2.3, 2.2.11
>
>
> At line 180 of org.apache.cxf.jaxrs.model.URITemplate, the final group is not correctly caught. It does not assume uri template could also contains group in it. It should be change to the following statement:
> String finalGroup = m.group(m.groupCount());
> For this problem's source, refer to http://cxf.547215.n5.nabble.com/JAX-RS-request-address-extension-mapping-td1045400.html#a1045400
> The code assigning variable value at line 173 also will have problem when there are groups inside the uri template itself.
> Regards,
> Rice

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