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

Rice Yeh updated CXF-2888:
--------------------------

       Original Estimate:     (was: 1h)
      Remaining Estimate:     (was: 1h)
    Estimated Complexity: Moderate  (was: Novice)
             Description: 
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

  was:
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


> [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.9
>            Reporter: Rice Yeh
>
> 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.

Reply via email to