Skip to content

Invalid ipfs:// links are redirected to dweb.link #1133

@MicahZoltu

Description

@MicahZoltu

Describe the bug
When I try to navigate to ipfs://example in Firefox with IPFS Companion installed, I am sent to https://dweb.link/ipfs/example rather than my local gateway.

To Reproduce
Steps to reproduce the behavior:

  1. Install Firefox
  2. Install IPFS Desktop
  3. Install IPFS Companion
  4. In IPFS companion settings remove all references to dweb.link, set a local gateway, and disable automatic mode.
  5. Type ipfs://example in your address bar and press enter
  6. Notice that you are redirected to dweb.link

Expected behavior
When I tell IPFS companion to use my local gateway or a specific gateway, it doesn't sometimes use a public gateway.

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Firefox
  • Version: 2.20.1

Additional context
This is also a privacy problem as it is sending information about what I am trying to lookup on IPFS to dweb.link. If I configure IPFS Companion to use my local gateway, this may be for privacy reasons and that is negated by this bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/firefoxIssues related to Mozilla Firefoxexp/intermediatePrior experience is likely helpfulkind/bugA bug in existing code (including security flaws)

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions