DID service
parameter does not account for cases where id
of service
is a full IRI external to the DID document
#97
Labels
bug
Something isn't working
Extracted from w3c/did-core#864 (comment)
By my reading of https://w3c.github.io/did-resolution/#dereferencing-algorithm-primary -- it seems like algorithm step 4.1.1 doesn't account for a "full IRI external to the DID document" use case:
So for something like
did:example:abc123?service=https%3A%2F%2Fexternal-node.example
The resolution algorithm above reads in a way that it would fail to match anything -- certainly there is no fragment matching
service=https%3A%2F%2Fexternal-jsonld-node.example
, and indeed there is no fragment at all!In fact, because of the "fragment" matching algo, something like this might be expected to match:
did:example:abc123?service=example
The text was updated successfully, but these errors were encountered: