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

Update PackageURL.fromString() to handle colon in the package name #55

Merged
merged 2 commits into from
Nov 6, 2023

Conversation

aniruth37
Copy link
Contributor

Fix for the issue #45.

When multiple colons are present in PURL, the split method considers only the first 2 elements of the spitted array. Fixed this by using the splice method to split the scheme and remainder correctly.

Copy link
Collaborator

@steven-esser steven-esser 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 rebase main onto your branch?

@steven-esser steven-esser merged commit 8d7931f into package-url:master Nov 6, 2023
1 check passed
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.

None yet

2 participants