-
Notifications
You must be signed in to change notification settings - Fork 324
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
ipfs://CIDv0 does not work in Firefox 70 #815
Comments
We are unable to fix this (URI is lowercased before passed to extension), but we can inform user about manual fix. This also adds SRI for CSS assets. Closes #815
We are unable to fix this (URI is lowercased before passed to extension), but we can inform user about manual fix. This also adds SRI for CSS assets. Closes #815
I ran into this today, the display of the fix in #824 being in a red box didn't help me understand the fix as I skimmed right over that, only after went to report an issue, searched and found this then went back and looked again did I realize what the page was saying, may need some tweaking of the display and/or text? cc @jessicaschilling |
@andrew -- thanks for raising this. Agreed that we can make the text in the red box more specific and helpful (and therefore less likely to be ignored). I'm currently working through a crib sheet of miscellaneous Companion UI fixes and will add it to that and name-check this issue when the changes make their way into a PR. |
@lidel -- Sorry to ask for the hint, but can I check in on the best way of addressing this when you have the chance? Unless I'm missing something, sounds like the best approach is just to modify the error page and then point Companion to the new page's CID. True? |
@jessicaschilling Correct. This error page is loaded from IPFS because of how Firefox If you want to tackle this, update CID with new version in those places: |
@lidel and @andrew -- how about this? Local screenshots with fake URIs bashed in for the sake of illustration: @lidel, note inline favicon 😉 If either of you would be kind enough to look through the code for that page, would greatly appreciate -- once we're OK with the page I'll change the CID references in Companion in a new PR. |
Can we add
And shorten DNSLink one to:
Otherwise LGTM! |
Updated at https://gateway.ipfs.io/ipfs/QmVGC4uCBDVEhCzsaJmvR5nVDgChM97kcYNehVm7L9jxtc ... PR is here: #911 |
@lidel can we autorewrite v0 to v1 in this case? Or do it in the "cannot process" page on client side, and have "click here to try v1 CID" instead of putting it on the user to do in CID Inspector? |
@autonome we are unable to autofix – Firefox performs lowercasing before extension can read the CID, and the lowercasing is a lossy operation which we can't undo. We could have converter on the error page (instead of linking to https://cid.ipfs.io), |
Catching unhandled protocols is an experiment enabled by default:
Issue with address bar / a href
ipfs://QmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR
gets lower-cased and produces an error in Firefox 70:
Issue with img src
Fails to load.
Todo
cc #527
The text was updated successfully, but these errors were encountered: