ipfs/ipfs-companion
Vedi su GitHub"Copy shareable link" is broken for non-ICANN names
Open
#1060 aperta il 23 feb 2022
P2area/eth.linkeffort/hoursexp/novicehelp wantedkind/bug
Metriche repository
- Star
- (1992 star)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
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