ipfs URI breaks URI syntax (RFC 3986) #13677
Labels
feature/web3/ipfs
OS/Desktop
priority/P3
The next thing for us to work on. It'll ride the trains.
QA Pass-macOS
QA/Yes
release-notes/include
Milestone
Description
The IPFS URIs in Brave do not follow the correct syntax as given in the URI standard RFC 3986 (https://tools.ietf.org/html/rfc3986#section-3). Instead of using the correct format of ipfs:ipfshash, Brave requires 'ipfs://', which according to RFC 3986 represents an authority, i.e. a dedicated instance of an IPFS service provider. This will break compatibility with all software that handles URI correctly.
1. Steps to Reproduce
Actual result:
Error message that the website is not availabe with Error: ERR_UNKNOWN_URL_SCHEME
Expected result:
Page with "Hello and Welcome to IPFS!..."
2. Steps to Reproduce
Actual result:
Page with "Hello and Welcome to IPFS!..."
Expected result:
Error message that not IPFS instance of the name QmYwAPJzv5CZsnA625s3Xf2nemtYgPpHdWEz79ojWnPbdG could be reached, or that QmY is not a valid identifier of an IPFS instance but looks like an IPFS hash and that the user may mean 'ipfs:QmYwAPJzv5CZsnA625s3Xf2nemtYgPpHdWEz79ojWnPbdG/readme' instead.
Reproduces how often:
Every time
Brave version (brave://version info)
Brave 1.19.86 Chromium: 88.0.4324.96 (Offizieller Build) (64-Bit)
Revision: 68dba2d8a0b149a1d3afac56fa74648032bcf46b-refs/branch-heads/4324@{#1784}
OS: Linux
Version/Channel Information:
Current release
Other Additional Information:
Miscellaneous Information:
Also relevant to #13266
The text was updated successfully, but these errors were encountered: