-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't workingneeds testingSomething needs testingSomething needs testingpriority/highSomething is of high prioritySomething is of high priorityscale/smallThis is a small changeThis is a small change
Milestone
Description
Description
Currently when using /v1/receive/+123456789 the endpoints middleware won't match paths like v1/receive/{{.NUMBER}} since they haven't been templated yet.
To Reproduce
Steps to reproduce the behavior:
- Start Container
- Send Request with {{.VAR}} in Path
- Blocked Endpoint with
+XYZwon't trigger since it only sees the literal {{.VAR}}
Expected behavior
Templating should happen before the Endpoints middleware.
Additional Context
This is due to templating beeing placed after the endpoints middleware in the proxy.go middlewares chain.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingneeds testingSomething needs testingSomething needs testingpriority/highSomething is of high prioritySomething is of high priorityscale/smallThis is a small changeThis is a small change