-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Automatic redirects to IPFS via gateway don't always work #21454
Comments
Might be a separate case, but it's in the same test section, so including it here for posterity. Loading |
Resolves brave/brave-browser#21454 Urls in format of https://bafy.ipfs.gateway.io or https://gateway.io/ipfs/bafy are now redirected to ipfs:// scheme if x-ipfs-path header is received
Resolves brave/brave-browser#21454 Urls in format of https://bafy.ipfs.gateway.io or https://gateway.io/ipfs/bafy are now redirected to ipfs:// scheme if x-ipfs-path header is received
Verified
|
Brave | 1.46.73 Chromium: 107.0.5304.62 (Official Build) beta (x86_64) |
---|---|
Revision | 1eec40d3a5764881c92085aaee66d25075c159aa-refs/branch-heads/5304@{#942} |
OS | macOS Version 11.7 (Build 20G817) |
Steps:
- installed
1.46.73
- launched Brave
- opened
brave://settings/ipfs
- toggled
Redirect IPFS resources to the configured IPFS gateway
toEnabled
- loaded the respective URLs shown below
- clicked on the
Use a Brave local IPFS node
andUse a public gateway
options, separately - confirmed the correct URLs loaded
QmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR
brave://settings/ipfs |
interstitial page |
local IPFS node |
public gateway |
---|---|---|---|
Wikipedia
brave://settings/ipfs |
initial webpage (w/IPFS badge) |
interstitial page |
local IPFS node |
public gateway |
---|---|---|---|---|
It was reverted on master via brave/brave-core#15597, revert to beta is still pending uplift (brave/brave-core#15649), I think we need to reopen this issue and ping uplift team to merge the revert on beta. cc @cypt4 |
@yrliou @bridiver going to remove this issue from |
Removed |
Description
Automatic redirects to IPFS via gateway don't always work
This is with
go-ipfs
0.11.0
but also reproduces with the0.12.0
release.Steps to Reproduce
1.38.20
brave://settings/ipfs
Redirect IPFS resources to the configured IPFS gateway
toOn
https://ipfs.io/ipfs/QmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR
Actual result:
It remains on
https://ipfs.io/ipfs/QmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR
Expected result:
Per
https://github.com/brave/qa-resources/blob/654c91cbf44d25cf74c5143c5cb42477458fa7b4/wikitemplate-IPFS.md#automatic-redirects-to-ipfs
it should go toipfs://bafybeigdyrzt5sfp7udm7hu76uh7y26nf3efuylqabf3oclgtqy55fbzdi
Reproduces how often:
100%
Brave version (brave://version info)
cc @spylogsster @lidel @MadhaviSeelam
The text was updated successfully, but these errors were encountered: