ipfs://example.com in Chromium should produce error #1316
Labels
kind/bug
A bug in existing code (including security flaws)
need/triage
Needs initial labeling and prioritization
Problem
Seems we have some magic in Chromium implementation of
ipfs://
andipns://
that makesipfs://docs.ipfs.tech
correctly redirect to /ipns/ namespace.While this sounds like useful, it perpetuates incorrect URIs in the wild:
I personally had to reach out to well-meaning authors of some blogposts in the community to fix
ipfs//example.com
intoipns://example.com
because both work in Chromium with Companion, and its easy to miss one letter difference.Solution
This is specific to Chrimium handling of
ipfs://
, which still theq=
hijack hack described hereProduce intermediate error page which explains that
ipfs://
should be only used for immutable identifiers and mutable pointers like cryptographic IPNS rcords and DNSLink domain names should useipns://
.It should have big green button "Continue to ipns://example.com →" that allows user to get to the correct destination with minimal disruption.
The text was updated successfully, but these errors were encountered: