[K9VULN-5229] Upgrade packageurl-go to v0.1.3#97
Merged
rjcoulter22 merged 2 commits intomainfrom Jan 9, 2026
Merged
Conversation
packageurl-go to v0.1.3
Go test coverage reportTotal test coverage: 90.2% (4271/4733) No coverage changes in any files compared to the base. |
piloulacdog
approved these changes
Jan 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚀 Motivation
This package we downgraded hereThe for the intents of better comparing the sbom-generator results to the deprecated osv-scanner. Specifically the downgraded version gets rid of some character escaping that was being done for PURLs which was contributing to discrepancies in the results of the two scanners.
📚 Documentation
📝 Summary
Updated packageurl-go from v0.1.1 to v0.1.3 to ensure proper URL encoding of special characters in Package URLs (PURLs). The newer version correctly encodes characters like
+(%2B),:(%3A),@(%40), and$(%24) according to the PURL specification. This ensures consistency with third-party tools like Snyk when processing SBOMs.You can see the releases of this library and the associated changes here https://github.com/package-url/packageurl-go/releases
🧪 Testing
🚧 Staging validation
🆘 Recovery
Notes for on-call - select only one: