You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When @Path("{name: [a-z0-9]+((\\.|_|__|-+)[a-z0-9]+)*(\\/[a-z0-9]+((\\.|_|__|-+)[a-z0-9]+)*)*}/hello") is used on a rest endpoint, with the quarkus-rest (reactive) extension, it does not match paths like "/lib/proj__ect-v1.0/hello/" and the endpoint is not found (404).
Expected behavior
Using quarkus-resteasy (classic) it does match correctly.
It should match the regular expression and find the endpoint correctly, at least it should behave consistently with quarkus-resteasy.
Actual behavior
On quarkus-rest it does not match returning a 404.
Describe the bug
When
@Path("{name: [a-z0-9]+((\\.|_|__|-+)[a-z0-9]+)*(\\/[a-z0-9]+((\\.|_|__|-+)[a-z0-9]+)*)*}/hello")
is used on a rest endpoint, with the quarkus-rest (reactive) extension, it does not match paths like "/lib/proj__ect-v1.0/hello/" and the endpoint is not found (404).Expected behavior
Using quarkus-resteasy (classic) it does match correctly.
It should match the regular expression and find the endpoint correctly, at least it should behave consistently with quarkus-resteasy.
Actual behavior
On quarkus-rest it does not match returning a 404.
How to Reproduce?
Change between
quarkus-resteasy
andquarkus-rest
:Output of
uname -a
orver
6.11.5-300.fc41.x86_64
Output of
java -version
java 23.0.1 2024-10-15
Quarkus version or git rev
3.16.1
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.9.9
Additional information
No response
The text was updated successfully, but these errors were encountered: