Skip to content

[RESTEASY-3803] Handle nested braces in regex patterns - #5062

Merged
jamezp merged 2 commits into
resteasy:mainfrom
jamezp:RESTEASY-3803
Sep 30, 2026
Merged

jamezp merged 2 commits into
resteasy:mainfrom
jamezp:RESTEASY-3803

Conversation

@jamezp

@jamezp jamezp commented Sep 29, 2026 •

Copy link
Copy Markdown
Member

Replace regex-based extraction with brace-depth counting to correctly parse URI template parameters containing nested braces like {b:B{0,10}}. Add strict validation for malformed templates using proper exception handling.

Replace regex-based extraction with brace-depth counting to correctly parse URI template parameters containing nested braces like {b:B{0,10}}. Add strict validation for malformed templates using proper exception handling.

https://redhat.atlassian.net/browse/RESTEASY-3803

Signed-off-by: James R. Perkins <[email protected]>
@jamezp
jamezp merged commit 7da9384 into resteasy:main Sep 30, 2026
9 checks passed
@jamezp
jamezp deleted the RESTEASY-3803 branch September 30, 2026 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant