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

Additional logging + dont unescape path when checking allowlist #31

Merged
merged 3 commits into from
Jul 24, 2023

Conversation

tpetr
Copy link
Contributor

@tpetr tpetr commented Jul 24, 2023

GitLab urlencodes repository names (e.g. https://gitlab.example.com/api/v4/projects/foo%2Fbar/...) but we were unescaping the repo name to foo/bar, which made it harder to write a correct allowlist

Copy link

@ThatDevShparki ThatDevShparki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@tpetr tpetr merged commit b0c3f20 into develop Jul 24, 2023
1 check passed
@tpetr tpetr deleted the tom/escaped-fix branch July 24, 2023 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants