Skip to content

Conversation

@jcrossley3
Copy link
Contributor

Fixes: #28

If upstream decides that slashes in qualifiers should be encoded to %2F, then we can remove the name-specific encode set and .add(b'/') to the ENCODE_SET constant.

Fixes: scm-rs#28

If upstream decides that slashes in qualifiers should be encoded to
%2F, then we can remove the name-specific encode set and `.add(b'/')`
to the ENCODE_SET constant.
Copy link
Collaborator

@ctron ctron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As provided by @jcrossley3 in #28 (comment):

package-url/purl-spec#641
package-url/purl-spec#459

This looks light the right way to deal with this.

@ctron
Copy link
Collaborator

ctron commented Dec 1, 2025

Looks like the MSRV needs to upticked. Can you do this as well?

@ctron ctron added this pull request to the merge queue Dec 2, 2025
Merged via the queue into scm-rs:main with commit 23f1aab Dec 2, 2025
9 checks passed
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

Successfully merging this pull request may close these issues.

Round-tripping a PURL with a %2F in its name is broken

2 participants