Empty path segments and path params

From: Bill Burke <>
Date: Tue, 12 Aug 2008 15:12:29 -0400

In the javadoc of @Path you state that a path param with no regex should
be "[^/]+". I think it should be "[^/]*". Reason? Consider this:


GET /;a=a/;b=b/;c=c

For path param's 1-3 the path segment (excluding matrix parameters) is
"" and the matching path could be "///".


Bill Burke
JBoss, a division of Red Hat