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: disallow empty 'subject' header #679

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

pnt
Copy link
Contributor

@pnt pnt commented Nov 4, 2024

Specification clearly states that 'subject' is optional but if present, MUST be non-empty (spec at https://github.com/cloudevents/spec/blob/v1.0/spec.md#subject)

Fixes #676

Specification clearly states that 'subject' is optional but if present, MUST be non-empty
(spec at https://github.com/cloudevents/spec/blob/v1.0/spec.md#subject)

Signed-off-by: Kristiyan Marinov <kristiyanm@gmail.com>
@pnt pnt force-pushed the 676-fix-allowed-empty-subject branch from a0fda74 to 9246d46 Compare November 4, 2024 08:41
Copy link
Member

@pierDipi pierDipi left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM

@pierDipi pierDipi merged commit 9981635 into cloudevents:main Nov 4, 2024
5 checks passed
@pnt pnt deleted the 676-fix-allowed-empty-subject branch November 4, 2024 08:53
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.

Java SDK allows empty subject during deserialization
2 participants