-
Notifications
You must be signed in to change notification settings - Fork 215
FIX some percent-encoding and qualifier order issue #559
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
Conversation
|
Can you add a test to specification-test.json to ensure that + still decodes as +? Currently we're getting that testing through the cocoapods test and I agree that the cocoapods test shouldn't be doing that. I'm pretty sure in the SWID tests the |
|
To keep the repo tidy in terms of duplicate issues and PRs, should this PR be closed in favour of #587 ? |
|
I synced the JSON tests and no longer have sorting or percent-encoding errors in the qualifiers. However, there are still issues with some tests in other PURL types, but I will respond directly in the respective issues. Thanks ;) |
I recently started implementing the new tests in URI-PackageURL, but after #514 I encountered some problems.
This PR is companion of #551 and fix some percent-encoding except "swid" because I have a doubts about whether
+should be encoded as a space (%20) or as a plus sign (%2B) in namespace and name components.In addition, I think some Conan tests should be removed or revised because they are contradictory (e.g. 'invalid conan purl only namespace’ and 'invalid conan purl only channel qualifier’) -- see last comment of #168
(edited)