Skip to content

Subpaths are not unescaped on parse #11

@matt-phylum

Description

@matt-phylum

packageurl-ruby parses the PURL pkg:t/n#%25 as having a subpath %25 instead of %. This could possibly be documented as the expected behavior, except that if packageurl-ruby is used to parse that PURL and serialize it again, the resulting PURL is pkg:t/n#%2525. The escaping/unescaping is not symmetrical between parsing and serializing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions