Skip to content

Conversation

lholmquist
Copy link
Contributor

This validates the extension names based on the spec, https://github.com/cloudevents/spec/blob/master/spec.md#attribute-naming-convention

fixes #228

Signed-off-by: Lucas Holmquist lholmqui@redhat.com

Signed-off-by: Lucas Holmquist <lholmqui@redhat.com>
@lholmquist lholmquist marked this pull request as ready for review July 14, 2020 14:32
@lholmquist lholmquist requested review from a team, lance, grant and fabiojose and removed request for a team July 14, 2020 14:34
@lholmquist
Copy link
Contributor Author

While #229 is also related, i'm going to split them into 2 PRs

Copy link
Member

@lance lance left a comment

@lholmquist
Copy link
Contributor Author

lholmquist commented Jul 14, 2020

surprised there weren't more changes required to the tests.

I guess you wrote them perfectly :)

for the examples, yea, we are going to need to update them. which might be good to do in its own PR

@lance
Copy link
Member

lance commented Jul 14, 2020

for the examples, yea, we are going to need to update them. which might be good to do in its own PR

Sounds good. I've added #249

@lance lance self-requested a review July 14, 2020 20:44
@lholmquist lholmquist merged commit 84f1ed9 into cloudevents:master Jul 15, 2020
@lance lance mentioned this pull request Jul 24, 2020
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.

CloudEvent should only allow [^a-z|0-9$] for extension names
3 participants