Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 35711 invoked from network); 10 Apr 2009 20:19:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Apr 2009 20:19:38 -0000 Received: (qmail 29100 invoked by uid 500); 10 Apr 2009 20:19:38 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 29053 invoked by uid 500); 10 Apr 2009 20:19:38 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 29043 invoked by uid 99); 10 Apr 2009 20:19:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Apr 2009 20:19:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Apr 2009 20:19:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DD8B3234C051 for ; Fri, 10 Apr 2009 13:19:14 -0700 (PDT) Message-ID: <567501765.1239394754893.JavaMail.jira@brutus> Date: Fri, 10 Apr 2009 13:19:14 -0700 (PDT) From: "Andrzej Michalec (JIRA)" To: issues@cxf.apache.org Subject: [jira] Assigned: (CXF-2014) @Path fails when uses variable with regexp containing curly braces. In-Reply-To: <392830514.1233264959491.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrzej Michalec reassigned CXF-2014: ------------------------------------- Assignee: Andrzej Michalec > @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 > > 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.