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: handle starting slash on opa path #6

Merged

Conversation

DavideArena
Copy link
Member

If you define the opa directive with path /path/subpath, the plugin doesn't handle correctly the generation of the opa url. With this PR, the plugin check if starting slash is already present, if not, it will add.

@DavideArena DavideArena requested review from vivedo and a team July 23, 2024 12:45
@DavideArena DavideArena merged commit 45addb3 into treedomtrees:master Jul 23, 2024
1 check passed
@DavideArena DavideArena deleted the fix/opa-endpoint-path-parsing branch July 23, 2024 13:58
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.

2 participants