althonos / packageurl.rs

Rust implementation of the Package URL specification.
MIT License
8 stars 6 forks source link

Unable to round trip values containing `%` #12

Closed matt-phylum closed 1 month ago

matt-phylum commented 11 months ago

pkg:brew/openssl%25401.1@1.1.1w parses correctly but then incorrectly serializes as pkg:brew/openssl%401.1@1.1.1w (openssl%401.1 turns into openssl@1.1) because the percent_encoding crate does not encode % by default (https://github.com/servo/rust-url/issues/822).