-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Purple "IPFS badge" displays for non-"IPFS" sites #31145
Comments
Looking at the release checklist (example), I see there are various positive tests affirming the IPFS badge's presence. It would probably be good to add a negative case (asserting that the badge isn't present). |
Missing tests that would detect brave/brave-browser#31145
@cypt4 I think this may be a regression in URL/DNSLink processing pipeline, perhaps due to recent refactors? You can reference ipfs/ipfs-docs#1295 → https://github.com/ipfs/ipfs-docs/blob/feat/how-to-implement-support-in-a-web-browser.md/docs/how-to/detect-ipfs-on-web.md or ask me on Slack if needed. I agree with @BigLep, we need QA tests for this, filled brave/qa-resources#526 to close the gap. |
* Validate IPFS Cid using Rust CID lib Resolves brave/brave-browser#31145
* Validate IPFS Cid using Rust CID lib Resolves brave/brave-browser#31145
* Support sending f1 to typed f4 addresses (#18511) * Support sending f1 to typed f4 addresses Resolves brave/brave-browser#30401 * Migrate to rust static * Build fix * Review fix * remove unused crates and update *.toml * bump fvm_shared to 3.3.0 to match filecoin Cargo.toml * add missing BUILD.gn update for multihash * fix multihash aliased deps --------- Co-authored-by: bridiver <34129+bridiver@users.noreply.github.com> * Include FEVM addresses when sender is f1 (#19330) * Include FEVM addresses when sender is f1 Resolves brave/brave-browser#30403 * Validate IPFS Cid using Rust CID lib (#19451) * Validate IPFS Cid using Rust CID lib Resolves brave/brave-browser#31145 * Cleanup --------- Co-authored-by: bridiver <34129+bridiver@users.noreply.github.com>
The above requires |
Verification passed on
31145.mp4 |
Description
Purple "IPFS badge" displays for non-"IPFS" sites.
Example: https://github.com/ipfs/github
Steps to Reproduce
x-ipfs-path
header and doesn't have DNSLink setup.Actual result:
See above
Expected result:
No purple badge
Reproduces how often:
Every time
Brave version (brave://version info)
Version/Channel Information:
Other Additional Information:
Miscellaneous Information:
I searched for existing issues about this by looking at:
https://github.com/brave/brave-browser/issues?q=is%3Aissue+ipfs+is%3Aopen
https://github.com/brave/brave-browser/issues?page=3&q=is%3Aissue+ipfs+badge
I assume there is logic from https://www.npmjs.com/package/is-ipfs related to https://docs.ipfs.tech/how-to/address-ipfs-on-web/ that hasn't been properly ported over.
The text was updated successfully, but these errors were encountered: