Skip to content

fix(gateway): resolve dynamic routing endpoint reference misidentified as absolute URL#16067

Open
thomasballivet wants to merge 2 commits intomasterfrom
apim-13317-fix-dynamic-routing-endpoint-resolution
Open

fix(gateway): resolve dynamic routing endpoint reference misidentified as absolute URL#16067
thomasballivet wants to merge 2 commits intomasterfrom
apim-13317-fix-dynamic-routing-endpoint-resolution

Conversation

@thomasballivet
Copy link
Copy Markdown
Contributor

Issues

https://gravitee.atlassian.net/browse/APIM-13317
https://gravitee.atlassian.net/browse/APIM-13332

Description

{#endpoints['name']}/{#group[0]} evaluates to name://path when the capture starts with /, which URIUtils.isAbsolute() incorrectly matches. The fix uses a known URL scheme allowlist (http, https, ws, wss) to disambiguate.

@thomasballivet thomasballivet requested a review from a team as a code owner March 27, 2026 16:02
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@thomasballivet thomasballivet force-pushed the apim-13317-fix-dynamic-routing-endpoint-resolution branch from 098ccfd to 52d376f Compare April 1, 2026 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

apply-on-4-10-x apply-on-4-11-x Mergify: apply on 4.11.x

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant