textileio / go-textile

[DEPRECATED] Textile is a set of tools and infrastructure for building composable apps and services on the IPFS network
https://textile.io
MIT License
357 stars 43 forks source link

Decrypting gateway doesn't support the filename parameter #709

Open andrewxhill opened 5 years ago

andrewxhill commented 5 years ago

works fine: https://gateway.textile.cafe/ipfs/QmV9MLUYjTLaxYhD2LentKhGPTgZ51MhDaKk4xRyYVyw7B/0/d

also works fine: https://ipfs.io/ipfs/QmV9MLUYjTLaxYhD2LentKhGPTgZ51MhDaKk4xRyYVyw7B/0/d

failed display because ipfs gateway accepts filename: https://ipfs.io/ipfs/QmV9MLUYjTLaxYhD2LentKhGPTgZ51MhDaKk4xRyYVyw7B/0/d?filename=index.png

but this still works because it is ignoring filename (i think): https://gateway.textile.cafe/ipfs/QmV9MLUYjTLaxYhD2LentKhGPTgZ51MhDaKk4xRyYVyw7B/0/d?filename=index.png

sanderpick commented 5 years ago

Sounds more like a feature and not a bug to me.

andrewxhill commented 5 years ago

ha, could be....

sanderpick commented 5 years ago

Closed it? What's the intended behavior of the filename? It serves the content by that name? We can definitely support that...