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