Skip to content

Conversation

@matt-phylum
Copy link
Collaborator

Overview

Surprisingly, the percent_encoding crate does not percent encode percent signs and therefore if you just percent encode some bytes and try to decode them, you may get a different result when decoding. This PR ensures that percent signs are properly escaped when serializing PURLs.

Checklist

  • Does this PR have an associated issue?
  • Have you ensured that you have met the expected acceptance criteria?
  • Have you created sufficient tests?

Issue

Closes #15

@matt-phylum matt-phylum merged commit 3d21fd1 into main Nov 22, 2023
@matt-phylum matt-phylum deleted the matt/percent branch November 22, 2023 16:13
@matt-phylum matt-phylum mentioned this pull request Apr 26, 2024
3 tasks
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.

Percent signs are not percent encoded

4 participants