Skip to content

IPFS resource on non-IPFS page tries to redirect to https://cid.ipfs.localhost:8080 #1324

@Jontes-Tech

Description

@Jontes-Tech

Describe the bug
A clear and concise description of what the bug is.
In chromium, http://localhost:8080/ipfs/cid redirects to https://cid.ipfs.localhost:8080. Kubo's gateway only serves HTTP, not HTTPS.

To Reproduce
Steps to reproduce the behavior:

  1. Create an HTML (over HTTP) file.
  2. Create an <img> pointing to https://ipfs.io/ipfs/any-cid-here
  3. Image will fail to load because it tries to redirect to https on 8080.

Expected behavior
A clear and concise description of what you expected to happen.
Image loads successfully

Screenshots
If applicable, add screenshots to help explain your problem.
Screenshot from 2024-06-08 15-17-04

Desktop (please complete the following information):

  • OS: Arch Linux
  • Browser: Chromium and Google's "Chrome" rebrand
  • Version: Latest versions on Chrome Web Store.

Metadata

Metadata

Assignees

No one assigned

    Labels

    need/author-inputNeeds input from the original authorneed/triageNeeds initial labeling and prioritization

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions