w3c / did-resolution

RELEASED DRAFT: Decentralized Identifier Resolution (DID Resolution) 0.2 Specification
https://w3c.github.io/did-resolution/
Other
19 stars 9 forks source link

Percent-encode reserved characters in HTTP Binding #50

Open peacekeeper opened 5 years ago

peacekeeper commented 5 years ago

In the HTTP Binding, should reserved characters in DID URLs be percent-encoded? E.g. probably

https://uniresolver.io/1.0/identifiers/did:sov:WRfXPg8dantKVubE3HX8pw;service=agent

should really be

https://uniresolver.io/1.0/identifiers/did%3Asov%3AWRfXPg8dantKVubE3HX8pw%3Bservice%3Dagent

See also https://github.com/decentralized-identity/papers/issues/23

peacekeeper commented 5 years ago

https://stackoverflow.com/questions/695438/safe-characters-for-friendly-url