Skip to content

fix: broken dnslink at /ipns/ipfs.io/blog/foo #844

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 12, 2020

Conversation

lidel
Copy link
Member

@lidel lidel commented Feb 11, 2020

This PR fixes broken DNSLink loads for /ipns/ipfs.io/blog/* from local or public gateways.

Without this, user stumbling upon https://ipfs.io/blog/2020-02-10-our-focus-for-2020/ will get redirected to http://127.0.0.1:8080/ipns/ipfs.io/blog/2020-02-10-our-focus-for-2020/ and get HTTP 404 error without any indication how to fix it, which is pretty bad experience:

ipfs resolve -r /ipns/ipfs.io/blog/2020-02-10-our-focus-for-2020/: no link named "2020-02-10-our-focus-for-2020" under bafybeics2j3x4qcn3365docj4f5xfe7gwlbakds7x3it63okc572imyb4e

Wider context: https://github.com/ipfs/blog/issues/360
cc @autonome (as I am not sure who is responsible for ipfs.io atm)

@lidel lidel requested a review from autonome February 11, 2020 13:01
@lidel lidel force-pushed the fix/canonical-ipfs-blog-urls branch from aed13fc to 069bc8e Compare February 12, 2020 16:59
@lidel lidel merged commit 5da02c9 into master Feb 12, 2020
@lidel lidel deleted the fix/canonical-ipfs-blog-urls branch February 12, 2020 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants