decentralized-identity / trustdidweb

Trust DID Web (did:tdw)
https://identity.foundation/trustdidweb/
Other
23 stars 9 forks source link

The ABNF for did:tdw seems to be missing the optional percent encoding of the port in the http url #111

Open daidoji opened 1 week ago

daidoji commented 1 week ago

tdw-did = "did:tdw:" scid ":" domain-segment 1+( "." domain-segment ) *( ":" path-segment ) domain-segment = ; A part of a domain name as defined in RFC3986, such as "example" and "com" in "example.com" path-segment= ; A part of a URL path as defined in RFC3986, such as "path", "to", "folder" in "path/to/folder"

Probably just needs a percent encoded optional ABNF snippet between the domain-segments and path-segments.

swcurran commented 1 week ago

Good catch. Will add that after the current 0.4 PR is merged.