Skip to content

fix: crash - null check on event origin #7047

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

Merged
merged 3 commits into from
Jun 5, 2025
Merged

Conversation

suxatcode
Copy link
Contributor

Added a null check for event origins, see this #7026 issue.

@CLAassistant
Copy link

CLAassistant commented Jun 2, 2025

CLA assistant check
All committers have signed the CLA.

@suxatcode suxatcode marked this pull request as ready for review June 4, 2025 12:31
Copy link
Member

@mholt mholt left a comment

Choose a reason for hiding this comment

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

Thank you!

@mholt mholt enabled auto-merge (squash) June 5, 2025 18:50
@mholt mholt linked an issue Jun 5, 2025 that may be closed by this pull request
@mholt mholt merged commit 7099892 into caddyserver:master Jun 5, 2025
20 checks passed
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.

calling event.CloudEvent() inside caddyevents.Handler causes panic
3 participants