Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix APIAP routing policy rule #1801

Merged

Conversation

Martouta
Copy link
Contributor

@Martouta Martouta commented Mar 30, 2020

Cherry pick of @guicassolato 's fix. From master to 3scale-2.8-stable to be in the patch 😄
#1777
THREESCALE-4736

The regex used to match the path of the backend in the APIAP routing policy configuration should only allow paths that _start with_ the chosen value for the path. Currently it matches all paths that _contains_ the value. This fixes it by adding a `^` to the beginning of the pattern.
@thomasmaas thomasmaas merged commit 4673ee3 into 3scale-2.8-stable Mar 31, 2020
@thomasmaas thomasmaas deleted the patch-fix/apiap/routing-rule-starts-with branch March 31, 2020 06:22
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.

3 participants