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

Incorrect parsing of PURLs begining with pkg:// #58

Open
matt-phylum opened this issue Nov 8, 2023 · 4 comments
Open

Incorrect parsing of PURLs begining with pkg:// #58

matt-phylum opened this issue Nov 8, 2023 · 4 comments

Comments

@matt-phylum
Copy link

The PURL test suite contains the PURL pkg://maven/org.apache.commons/io which is supposed to parse as a namespace of org.apache.commons and a name of io, but packageurl-js parses it as having no namespace. The namespace just disappears. It doesn't become part of the name.

@aniruth37
Copy link
Contributor

Raised #62 to fix this

@jdalton

This comment was marked as outdated.

@matt-phylum
Copy link
Author

This is still reproducible with the given example.

@jdalton
Copy link
Contributor

jdalton commented May 16, 2024

Ah, my bad. @matt-phylum you are correct.

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

3 participants