Closed TaylorBeeston closed 1 year ago
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.
This is already done, and I've already got two other PRs merged here! (https://github.com/spruceid/ssi/pulls?q=is%3Apr+author%3ATaylorBeeston+is%3Aclosed)
(see https://github.com/spruceid/ssi/pull/442#issuecomment-1140058966)
Thank you for the PR
A few months ago, while maintaining the fork for LEF, I noticed that did:web's with ports currently aren't being resolved! The spec states to percent encode the colon as %3A for ports, so I added that in!
This is particularly useful when hosting dids locally and trying to resolve a
did:web:localhost%3A3000
did during development. I also accounted for this by adjusting the http check fromdomain_name == "localhost"
todomain_name.starts_with("localhost")
, thereby allowing the domainlocalhost%3A3000
to still use http rather than https.