Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subpaths are not unescaped on parse #11

Open
matt-phylum opened this issue Nov 8, 2023 · 0 comments
Open

Subpaths are not unescaped on parse #11

matt-phylum opened this issue Nov 8, 2023 · 0 comments

Comments

@matt-phylum
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant