package-url/purl-spec#254 proposes a new package type which sometimes uses PURLs like pkg:brew/openssl%401.1@1.1.1w. This implementation parses that PURL as having a name openssl%401.1 instead of openssl@1.1. Serializing that PURL from its expected parts results in the invalid PURL pkg:brew/openssl@1.1@1.1.1w.
package-url/purl-spec#254 proposes a new package type which sometimes uses PURLs like
pkg:brew/openssl%401.1@1.1.1w. This implementation parses that PURL as having a nameopenssl%401.1instead ofopenssl@1.1. Serializing that PURL from its expected parts results in the invalid PURLpkg:brew/openssl@1.1@1.1.1w.