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

Replace inalid license key characters #1200

Merged
merged 1 commit into from
Dec 15, 2022
Merged

Conversation

rnjudge
Copy link
Contributor

@rnjudge rnjudge commented Dec 15, 2022

When a license is reported with invalid license keys (i.e. anything besides letters and numbers, underscore, dot, colon or hyphen signs and spaces) the is_spdx_license_expression() function fails because the liense-expression library does not properly handle the unknown characters. This commit is a workaround until the issue opened in the license-expression library[1] is resolved.

Resolves #1199

[1] nexB/license-expression#76

Signed-off-by: Rose Judge rjudge@vmware.com

When a license is reported with invalid license keys (i.e. anything
besides letters and numbers, underscore, dot, colon or hyphen
signs and spaces) the `is_spdx_license_expression()` function fails
because the liense-expression library does not properly handle the
unknown characters. This commit is a workaround until the issue
opened in the license-expression library[1] is resolved.

Resolves tern-tools#1199

[1] nexB/license-expression#76

Signed-off-by: Rose Judge <rjudge@vmware.com>
@rnjudge rnjudge merged commit 48e22cf into tern-tools:main Dec 15, 2022
@rnjudge rnjudge deleted the 1199 branch July 20, 2023 16:33
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.

license-expression does not handle invalid license key characters
1 participant