Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.26 KB

README.md

File metadata and controls

26 lines (17 loc) · 1.26 KB

Reproducer for Quarkus Reactive REST package issue

When attempting to navigate to endpoints that use regex within the path expression (i.e. @Path("{somePath:[a-z]{2}}")), trailing slashes do not properly route to the resource and instead return an error that the path cannot be found.

This seems to be a regression/missed aspect for the fix associated with quarkusio/quarkus#26016.

Reproduction steps:

  1. With server started, open the following URLs in browser to confirm that endpoints do properly exist + route:
  1. In browser, open the following links to observe behaviour with trailing slashes

All 3 URLs in step 2 should pass, but only the first link does

Expected

In cases where there are regex expressions within the @Path value, adding trailing slashes to the endpoint should route to the same endpoint.

Actual

When a trailing slash is present in URL for endpoints that contain a regex in the path, the endpoint doesn't properly route.