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

Daniel Kulp updated CXF-2014:
-----------------------------

    Fix Version/s: 2.2.1

> @Path fails when uses variable with regexp containing curly braces.
> -------------------------------------------------------------------
>
>                 Key: CXF-2014
>                 URL: https://issues.apache.org/jira/browse/CXF-2014
>             Project: CXF
>          Issue Type: Bug
>          Components: REST
>    Affects Versions: 2.2
>            Reporter: Andrzej Michalec
>            Assignee: Andrzej Michalec
>            Priority: Minor
>             Fix For: 2.2.1
>
>
> According to JAX-RS spec 1.0 one can use @Path annotation that specifies 
> regular expression to match variable content. Most of regexps work fine e.g. 
> @Path("{var:[a-zA-Z]+}"), however use of curly braces in regexp causes 
> failure of JAX-RS in runtime e.g. this @Path("{var:\d{2,}}") fails.
> From first look on URITemplate class responsible for URI regexps, its 
> internal matcher treats first closing curly brace as ending of whole 
> expression.
> cheers,
> andy

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