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
victorb
changed the title
Gateway believe directory called protocol.ai is a file rather than directory
Gateway shows file icon for directory called protocol.ai instead of directory icon
Jan 27, 2018
So, the issue is that the directory doesn't store any information about file types (except file names). ls works around this by fetching the root block of every directory entry but that's could cause some performance issues on the gateway.
Version information:
Type:
Bug
Severity:
Low
Description:
When adding a directory that has a link
protocol.ai
, the gateway shows this directory as a Adobe Illustrator file (I think) rather than a directory.Steps to reproduce:
Looking at the gateway on the test directory (https://ipfs.io/ipfs/QmQ9C4WiXrPE2NUW8GM3GwXdZudvxzJynMM7XwzBxi3CeX) you'll see the following:
Notice the
protocol.ai
link shows some file extension icon instead of the directory icon.Edit: it still works as a directory though, as you can navigate to https://ipfs.io/ipfs/QmQ9C4WiXrPE2NUW8GM3GwXdZudvxzJynMM7XwzBxi3CeX/protocol.ai/ and see the right output. But the icon for the directory is wrong.
The text was updated successfully, but these errors were encountered: