decentralized-identity / sidetree

Sidetree Specification and Reference Implementation
https://identity.foundation/sidetree/spec
Apache License 2.0
438 stars 112 forks source link

`serviceEndpoint` string check should use a proper URI library #898

Closed thehenrytsai closed 4 years ago

thehenrytsai commented 4 years ago

The current use of URL lib to perform the serviceEndpoint string check is not compliant to the Sidetree spec. Use uri-js npm pacakge's URI.parse() to do the job.

thehenrytsai commented 4 years ago

Done.