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

[vers] how to deal with problematic symbols such as brackets #313

Open
prabhu opened this issue Jul 15, 2024 · 0 comments
Open

[vers] how to deal with problematic symbols such as brackets #313

prabhu opened this issue Jul 15, 2024 · 0 comments

Comments

@prabhu
Copy link

prabhu commented Jul 15, 2024

The vers specification is lacking some guidance regarding version specifiers with problematic symbols such as brackets.

https://github.com/package-url/purl-spec/blob/version-range-spec/VERSION-RANGE-SPEC.rst

Example:

vers:foo/<=2.0\(0.249\)
vers:foo/!=10.4\(2\)
vers:foo/>2.1\(0.474\)|<2.2\(1.145\)

NVD feeds escapes such characters with a double slash. We currently store them escaped with a single slash, but not sure what the correct approach must be.

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