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

An empty string is currently said to be a valid license expression #23

Open
Nemo157 opened this issue May 7, 2018 · 0 comments
Open

Comments

@Nemo157
Copy link
Contributor

Nemo157 commented May 7, 2018

The syntax as defined in "SPDX Specification 2.1 Appendix IV: SPDX License Expressions" does not allow for an empty string, there must be at least 1 license specified.

The current validator allows an empty string. I would be wary of changing this without investigating whether it will affect crates.io, it may be that it is relying on the current behaviour if an empty license field is allowed (I'm not certain whether it is).

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

No branches or pull requests

1 participant