package-url / packageurl-js

JavaScript implementation of the package url spec
https://www.npmjs.com/package/packageurl-js
MIT License
26 stars 21 forks source link

Qualifiers are case sensitive #59

Closed matt-phylum closed 3 months ago

matt-phylum commented 1 year ago

The PURL test suite contains the PURL pkg:gem/jruby-launcher@1.1.2?Platform=java which is supposed to parse as having a qualifier platform=java, but packageurl-js parses it as Platform=java. This will cause problems if code uses packageurl-js to look for the value of a qualifier.

jdalton commented 3 months ago

This is fixed in master branch.

Update: v2.0.0 has been published 🎉