Skip to content

Conversation

@zvigrinberg
Copy link
Contributor

Description:

In case there is a Golang module/package with no group/namespace ( e.g. "pkg:golang/[email protected]"), need to parse the name only and ignoring the namespace part which is null

Fixes: #152

Signed-off-by: Zvi Grinberg <[email protected]>
Copy link
Collaborator

@ruromero ruromero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a simple test to validate your change?
Otherwise LGTM

Signed-off-by: Ruben Romero Montes <[email protected]>
@ruromero ruromero force-pushed the fix-golang-purl-parsing branch from f8cc018 to cd8288a Compare September 15, 2023 09:21
@ruromero ruromero merged commit cc7b7ca into guacsec:stable Sep 15, 2023
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.

2 participants