You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made a dns txt record for my site that looks like this "dnslink=/ipfs/QmYgdZ7Rhk2PRawzGu1FBHQSRsMaVMCJUF7NcbY6wVr4WC".
When you visit https://ipfs.io/ipns/jacob-karlsson.com you get the content-type application/x-msdos-program which is not expected. However, when I visit https://ipfs.io/ipfs/QmYgdZ7Rhk2PRawzGu1FBHQSRsMaVMCJUF7NcbY6wVr4WC I get the expected image/gif. This happens in both Firefox and Chrome for me, but someone in irc reported it working for them (the bug started happening for them too after they disabled a beta version ipfs companion).
My guess is that this is a combination of #4543, and ipfs.io having a mime-type definition file somewhere that includes this https://whatis.techtarget.com/fileformat/COM-Command-file-program (I tried to find an actual example of a file like this but didn't manage). I.e. the gateway thinks my website's url is a filename.
The text was updated successfully, but these errors were encountered:
Powersource
changed the title
IPNS dnslink tld interpreted as file ending
IPNS dnslink tld interpreted as file ending, which affects assumed content-type
Aug 10, 2018
Yeah, this is the same as #4543 and I still believe #4545 is the correct solution. Let's see if we can push that forwards. Thanks for bringing this up.
Type:
Bug
Description:
I made a dns txt record for my site that looks like this
"dnslink=/ipfs/QmYgdZ7Rhk2PRawzGu1FBHQSRsMaVMCJUF7NcbY6wVr4WC"
.When you visit https://ipfs.io/ipns/jacob-karlsson.com you get the content-type
application/x-msdos-program
which is not expected. However, when I visit https://ipfs.io/ipfs/QmYgdZ7Rhk2PRawzGu1FBHQSRsMaVMCJUF7NcbY6wVr4WC I get the expectedimage/gif
. This happens in both Firefox and Chromefor me, but someone in irc reported it working for them(the bug started happening for them too after they disabled a beta version ipfs companion).My guess is that this is a combination of #4543, and ipfs.io having a mime-type definition file somewhere that includes this https://whatis.techtarget.com/fileformat/COM-Command-file-program (I tried to find an actual example of a file like this but didn't manage). I.e. the gateway thinks my website's url is a filename.
The text was updated successfully, but these errors were encountered: