Subdomain gateway redirect ipns key to libp2p-key base32 instead of libp2p-key base36 #7544
Labels
kind/bug
A bug in existing code (including security flaws)
need/triage
Needs initial labeling and prioritization
Version information:
go-ipfs version: 0.6.0
Repo version: 10
System version: amd64/linux
Golang version: go1.14.4
1 - Initial key gen cidv0 ed25519
cidv0 ed25519
Converted in libp2p-key cidv1 base32
libp2p-key cidv1 base32
Converted in libp2p-key cidv1 base 36
libp2p-key cidv1 base 36
2 - First test with a public gateway who do not support yet subdomains
The three urls are resolved. Each page is loaded and displayed
cidv0 ed25519
libp2p-key cidv1 base32
libp2p-key cidv1 base 36
3 - Second test with a public gateway who support subdomains
cidv0 ed25519
redirects to
https://bafzaajaiaejcbxrt4db3xaqro23sjw4v2imrj2gvu47udglwbrovzave4orrkaam.ipns.dweb.link/
The page is not loaded
libp2p-key cidv1 base32
redirects to
https://bafzaajaiaejcbxrt4db3xaqro23sjw4v2imrj2gvu47udglwbrovzave4orrkaam.ipns.dweb.link/
The page is not loaded
libp2p-key cidv1 base 36
redirects to
https://bafzaajaiaejcbxrt4db3xaqro23sjw4v2imrj2gvu47udglwbrovzave4orrkaam.ipns.dweb.link/
The page is not loaded
4 - Third test
libp2p-key cidv1 base 36
The page is loaded as expected.
Thanks
The text was updated successfully, but these errors were encountered: