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: improve validation on extension attribute #502

Merged
merged 2 commits into from Jun 22, 2022

Conversation

lance
Copy link
Member

@lance lance commented Jun 22, 2022

Fixes: #500

Adds a regular expression check to the attribute name validation code to
ensure that attribute names only use a-z0-9 (except for data_base64,
which apparently is an exception to the rule.

Signed-off-by: Lance Ball lball@redhat.com

Fixes: cloudevents#500

Adds a regular expression check to the attribute name validation code to
ensure that attribute names only use a-z0-9 (except for `data_base64`,
which apparently is an exception to the rule.

Signed-off-by: Lance Ball <lball@redhat.com>
@lance lance added the type/fix A change that fixes something that is broken label Jun 22, 2022
@lance lance requested a review from lholmquist June 22, 2022 17:25
Signed-off-by: Lance Ball <lball@redhat.com>
@lance lance merged commit ea94a4d into cloudevents:main Jun 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/fix A change that fixes something that is broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Validation is broken
2 participants