-
Bug
-
Resolution: Done
-
Major
-
7.0.3.GA
-
None
When a @Path annotation that contains regex with parenthesis is applied to a resource locator it doesn't work correctly. For example, the following works correctly:
@GET @Path("{name: (works|WORKS)}") public Response works(@PathParam("name") String name) { SubResource sub = new SubResource(name); return sub.get(); }
But the following does not, it returns a 404 error response:
@Path("{name: (fails|FAILS)}") public SubResource fails(@PathParam("name") String name) { return new SubResource(name); }
I am attaching a simple application that reproduces this.
The same application used to work correctly with JBoss AS 7 and Resteasy 2.3.2.
- clones
-
JBEAP-7946 [LP - RHV product] (7.1.0) Regex with parenthesis doesn't work with resource locator
- Closed
- is incorporated by
-
JBEAP-7525 [GSS](7.0.z) Upgrade Resteasy 3.0.19.Final to 3.0.19.SP1
- Closed
-
JBEAP-8599 (7.0.z) Upgrade to RESTEasy from 3.0.19.SP1 to 3.0.19.SP2
- Closed
- relates to
-
RESTEASY-1569 Regex with parenthesis doesn't work with resource locator
- Resolved