-
Bug
-
Resolution: Done
-
Major
-
None
-
False
-
None
-
False
-
---
-
-
See https://github.com/quarkusio/quarkus/issues/25258#issuecomment-1113714298 for a description of what is allowed in a uri template.
These changes add support for `_-.\d` in the component's name.
Previosly, the component name was directly used as a capture group name.
The above mentioned characters however are not allowed at some positions in groupnames however.
Therefore I added a simple normalization, making sure the component name only contains characters in the range `A-Za-z0-9`.
Also, I added support for spaces in before and after the name, and before and after the regex part.
The ABNF (see comment above) allows WSP in these cases, which is 0x09 (HTAB) or 0x20 (SPACE). I don't believe however that tabs are that often used inside an `@Path`.
fixes #25258
Since the problem described in this issue should be resolved in a recent advisory, it has been closed.
For information on the advisory (Important: Red Hat build of Quarkus 2.7.7 release and security update), and where to find the updated files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2023:1006