Skip to content

Conversation

@orishavit
Copy link
Contributor

The webhook checks OPAL_POLICY_REPO_URL against the URL sent from GitHub. When the user specify a username and a password OPAL_POLICY_REPO_URL, it will fail to match since they don't appear in the webhook payload.

Fixing this by removing user & pass before comparing.

@orishavit orishavit requested review from asafc and orweis January 12, 2023 10:49
@netlify
Copy link

netlify bot commented Jan 12, 2023

Deploy Preview for opal-docs canceled.

Name Link
🔨 Latest commit f557e99
🔍 Latest deploy log https://app.netlify.com/sites/opal-docs/deploys/63c915b2441ac600096dfc64

The webhook checks OPAL_POLICY_REPO_URL against the URL sent from GitHub. When
the user specify a username and a password OPAL_POLICY_REPO_URL,
it will fail to match since they don't appear in the webhook payload.

Fixing this by removing user & pass before comparing.
@roekatz roekatz force-pushed the ori/per-3600-incorrect-url-comparison-in-webhook branch from b72f301 to f557e99 Compare January 19, 2023 10:04
@roekatz roekatz merged commit ab0fcc3 into master Jan 19, 2023
@roekatz roekatz deleted the ori/per-3600-incorrect-url-comparison-in-webhook branch January 19, 2023 10:07
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.

4 participants