.PNG .JPG and .GIF files cannot be viewed via IPFS import
See original GitHub issueDescription
Found while testing #16267 .PNG .JPG and .GIF files cannot be viewed via IPFS import
Steps to Reproduce
- Clean profile 1.27.x
- Launch brave
using --use-dev-goupdater-url
- Make sure IPFS version is
0.9.0
in brave://ipfs-internals - Import .PNG .JPG and .GIF files from the local machine
- Import is successful but files can’t be viewed
Actual result:
.PNG and .JPG files cannot be viewed via IPFS import
Expected result:
Should be able to view .PNG and .JPG files via IPFS import
Reproduces how often:
Easy
Brave version (brave://version info)
<html> <body>Brave | 1.27.87 Chromium: 91.0.4472.124 (Official Build) beta (64-bit) |
---|---|
Revision | 7345a6d1bfcaff81162a957e9b7d52649fe2ac38-refs/branch-heads/4472_114@{#6} |
OS | Windows 10 OS Version 2004 (Build 19041.1052) |
Version/Channel Information:
- Can you reproduce this issue with the current release? Yes
- Can you reproduce this issue with the beta channel? Yes
- Can you reproduce this issue with the nightly channel? Yes
Other Additional Information:
- Does the issue resolve itself when disabling Brave Shields? NA
- Does the issue resolve itself when disabling Brave Rewards? NA
- Is the issue reproducible on the latest version of Chrome? NA
Miscellaneous Information:
Issue Analytics
- State:
- Created 2 years ago
- Comments:8
Top Results From Across the Web
Uploaded file is not a valid image. Only JPG, PNG and GIF ...
I'm open to suggestions. Are you using the upload.module to attach images to nodes in the "File Attachment" section of the node creation...
Read more >hydrus network - Files - GitHub Pages
A personal booru-style media tagger that can import files and tags from your hard drive and popular websites. Content can be shared with...
Read more >Importing products and categories - EasyWebshop
Wiki page on how to import products, variations and categories in your online store. The import file formats are CSV, spreadsheet files (LibreOffice...
Read more >Image file types (JPG, PNG, SVG, GIF) - Web design tutorial
Understanding your image file options — and when and how to use each — can be key to building great websites. That's why...
Read more >Which image format to you use in your design? JPG, PNG or ...
In communicators, you have to work with design in all formats, especially digital design. Learn what formats you should be using; JPG, PNG...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This seems to be a variant of https://github.com/brave/brave-browser/issues/13641 however here we are on a trusted API port (45004) that tries to fetch the image from the trusted Gateway port (45083).
This is a pretty safe environment, as both Origins are controlled by Brave (brave runs go-ipfs binary, which exposes those ports)
I think the right way of fixing this class of bugs is to allow API port to fetch data from local Gateway.
@stephendonner Apologies somehow missed the issue. Today I have verified the issue on Windows 10 x64 -
1.28.106
build issue is fixed and working fine with ipfs component0.9.1