Percent encoding of package name #282
-
Not sure if I am understanding the spec correctly regarding percent encoding. Is pkg:npm/foo! a valid purl? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Both are valid and are supposed to represent the same package. althonos/packageurl.rs, giterlizzi/perl-URI-PackageURL, maennchen/purl, package-url/packageurl-dotnet, package-url/packageurl-go, package-url/packageurl-java, package-url/packageurl-js, package-url/packageurl-php, package-url/packageurl-python, package-url/packageurl-ruby, package-url/packageurl-swift, phylum-dev/purl, sonatype/package-url-java (all implementations I know of) read althonos/packageurl.rs, maennchen/purl, package-url/packageurl-dotnet, package-url/packageurl-js, package-url/packageurl-swift, phylum-dev/purl (6/13) format an NPM package giterlizzi/perl-URI-PackageURL, package-url/packageurl-go, package-url/packageurl-java, package-url/packageurl-php, package-url/packageurl-python, package-url/packageurl-ruby, sonatype/package-url-java (7/13) format an NPM package All implementations except maennchen/purl (maennchen/purl#10) read |
Beta Was this translation helpful? Give feedback.
Both are valid and are supposed to represent the same package.
althonos/packageurl.rs, giterlizzi/perl-URI-PackageURL, maennchen/purl, package-url/packageurl-dotnet, package-url/packageurl-go, package-url/packageurl-java, package-url/packageurl-js, package-url/packageurl-php, package-url/packageurl-python, package-url/packageurl-ruby, package-url/packageurl-swift, phylum-dev/purl, sonatype/package-url-java (all implementations I know of) read
pkg:npm/foo!
as having namefoo!
.althonos/packageurl.rs, maennchen/purl, package-url/packageurl-dotnet, package-url/packageurl-js, package-url/packageurl-swift, phylum-dev/purl (6/13) format an NPM package
foo!
aspkg:npm/foo!
.giterlizzi/perl-URI-P…