ipfs-companion
ipfs-companion copied to clipboard
"Copy shareable link" is broken for non-ICANN names
Problem
- Open https://dweb.link/ipns/blog.almonit.eth
- Try to "Copy shareable link"
- Clipboard value is "https://blog.almonit.eth"
The .eth is non-ICANN name, which means it is not safe for sharing with third-party people.
Solution
- The case above should copy
https://dweb.link/ipns/blog.almonit.eth - Caveat: we should not special-case
.eth,.cryptoor any other specific TLD, as user should be able to use their own gateway with custom DoH resolvers that support arbitrary naming systems.- :point_right: Companion should ship with a list of ICANN TLDs, and for everything else copy subdomain gateway link