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

Forward all known GitHub headers #105

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gnieto
Copy link
Contributor

@gnieto gnieto commented Apr 8, 2022

Previous to this changes, only the relevant headers for the hook were
forwarded. Right now, we are keeping all of them and then we are
checking that, required headers, are present.

This should prevent removing the github signature when the proxy does
not validate the request signature.

Fixes: #94

@gnieto gnieto force-pushed the fix/header-forwarding branch from 041353e to 6d8214f Compare April 27, 2022 07:04
Previous to this changes, only the relevant headers for the hook were
forwarded. Right now, we are keeping all of them and then we are
checking that, required headers, are present.

This should prevent removing the github signature when the proxy does
not validate the request signature.
@gnieto gnieto force-pushed the fix/header-forwarding branch from 6d8214f to f959e79 Compare April 27, 2022 08:26
maxisam added a commit to maxisam/GitWebhookProxy that referenced this pull request Jan 5, 2023
maxisam added a commit to maxisam/GitWebhookProxy that referenced this pull request Jan 5, 2023
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.

Proxy strips secret from webhook
1 participant