Bug: ipfs:// drops query and hash parts
See original GitHub issueTo reproduce have IPFS enabled and local node is running.
#fragment
- enter
ipfs://bafybeiemxf5abjwjbikoz4mc3a3dla6ual3jsgpdr4cjr3oz3evfyavhwq/wiki/Vincent_van_Gogh.html#Emerging_artist
via address bar- 💔 it loads, but does not jump to
#Emerging_artist
header, and the fragment is also removed from address bar
- 💔 it loads, but does not jump to
This makes it impossible for people to link to specific sections of documents
?query=params
ipfs://bafybeiemxf5abjwjbikoz4mc3a3dla6ual3jsgpdr4cjr3oz3evfyavhwq/I/m/Vincent_van_Gogh_-_Self-Portrait_-_Google_Art_Project_(454045).jpg?filename=test.jpg&download=true
- 💔 query parameters are not forwarded to the gateway, which in turns produces gateway response missing
Content-Disposition
header
- 💔 query parameters are not forwarded to the gateway, which in turns produces gateway response missing
This makes it impossible to create a link which triggers download instead of having file rendered in browser.
@autonome @bbondy I think we want to fix both, but lmk if there is a reason to keep current behavior.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How to integrate IPFS with Ethereum explained - QuickNode
1. It can be costly to store massive files on a blockchain mainnet, and this is where decentralized file... 2. The web that...
Read more >colog package - github.com/keks/go-ipfs-colog - Go Packages
Contains returns whether an Entry with Hash h is stored. func (*CoLog) FetchFromHead ¶. func (l *CoLog) FetchFromHead(head Hash) error.
Read more >IPFS Getting Started Guide - Filebase
Want to get started using IPFS, but not sure where to begin? This guide walks you through everything you need to know to...
Read more >Launch Bug: Query Parameter doesn't work with hashtag URL`S
1. First get the hash value: window.location.hash · 2. Do a check to see if it contains a question mark · 3. Get...
Read more >preupgrade check error - TechNet - Microsoft
The following web part(s) are referenced by the content, but they are not ... feature you have listed, it looks like it was...
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
With https://github.com/brave/brave-core/pull/7693, we won’t drop query parameters anymore, but currently we get
Content-Disposition: inline; filename*=UTF-8''test.jpg
instead of attachment for ipfs://bafybeiemxf5abjwjbikoz4mc3a3dla6ual3jsgpdr4cjr3oz3evfyavhwq/I/m/Vincent_van_Gogh_-Self-Portrait-Google_Art_Project(454045).jpg?filename=test.jpg&download=true, so brave won’t open a download dialog but only renders it in the browser. This is because https://github.com/ipfs/go-ipfs/pull/7677 is merged after go-ipfs 0.7.0 release which brave is currently using.Small 🌎 ; fancy meeting you here! Brought a smile to my face to know another awesome Mozillian was “at the other end.” ❤️