w3c-ccg / did-method-web

DRAFT: did:web Decentralized Identifier Method Specification
https://w3c-ccg.github.io/did-method-web/
Other
32 stars 17 forks source link

Need to define URL generation better with the READ operation #37

Open kdenhartog opened 3 years ago

kdenhartog commented 3 years ago

There's some odd edge cases that we'll want to be able to specify with greater detail.

For example how should the following DIDs be parsed?

did:web:example.com:
did:web:example.com.:
did:web:example.com..:
did:web:example.com:.:.:path
did:example%2ecom:path

There's probably more, but I think this exemplifies the problem around the different edge cases encountered with URLs