oathkeeper
oathkeeper copied to clipboard
Option strip_path is ignored by .MatchContext.URL.Path
Preflight checklist
- [X] I could not find a solution in the existing issues, docs, nor discussions.
- [X] I agree to follow this project's Code of Conduct.
- [X] I have read and am following this repository's Contribution Guidelines.
- [ ] I have joined the Ory Community Slack.
- [ ] I am signed up to the Ory Security Patch Newsletter.
Ory Network Project
No response
Describe the bug
.MatchContext.URL.Path is still prefixed with a value from strip_path when strip_path is set.
Reproducing the bug
- Set
strip_path - Check
.MatchContext.URL.Path
Relevant log output
No response
Relevant configuration
No response
Version
v0.40.7
On which operating system are you observing this issue?
Linux
In which environment are you deploying?
Docker Compose
Additional Context
No response