-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When checking if an ipfs name is blocked, we may get an `/ipns/{dnslink_name}` where the `{dnslink_name}` has been encoded according to https://specs.ipfs.tech/http-gateways/subdomain-gateway/#host-request-header That is, "." has been replaced with "-" and "-" has been replaced with "--". Because of this, when the given dns name has no dots, we undo things are replace "--" with "-" and "-" with ".".
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters