component-detection icon indicating copy to clipboard operation
component-detection copied to clipboard

Invalid purls when scanning Rust(cargo) repository

Open kennylam91 opened this issue 1 year ago • 1 comments

Hi guys, When I scan a Rust(cargo) repository (e.g https://github.com/rust-lang/rustlings), the sbom file result contains these purls:

pkg:cargo//[email protected]#
pkg:cargo//[email protected]#
pkg:cargo//[email protected]#
pkg:cargo//[email protected]#
pkg:cargo//[email protected]#

As per purl-specification, these purls seem not to be valid with // And when extracting them, the name info would include a slash (e.g /ryu instead of ryu)

kennylam91 avatar Jun 13 '24 10:06 kennylam91

Adding @FernandoRojo to help on this issue.

annaowens avatar Jul 01 '24 21:07 annaowens