👋 filetype happy user here! Today someone opened an issue in my bin project (marcosnils/bin#140) which led me here.
Filetype is not being able to detect the tar archive inside this gzipped file here https://github.com/sass/dart-sass/releases/download/1.52.3/dart-sass-1.52.3-linux-x64.tar.gz. However, tar -xf works and running file <dart-sass-1.52.3-linux-x64.tar> correctly detects the filetype.
Clearly seems like the file MIME headers are not being properly set. Still.. it's interesting how file still detects it as a tar archive even if the extension is removed.
file -i pepe
pepe: application/x-tar; charset=binary
Any pointers here?
👋 filetype happy user here! Today someone opened an issue in my
binproject (marcosnils/bin#140) which led me here.Filetypeis not being able to detect thetararchive inside thisgzippedfile here https://github.com/sass/dart-sass/releases/download/1.52.3/dart-sass-1.52.3-linux-x64.tar.gz. However, tar -xf works and runningfile <dart-sass-1.52.3-linux-x64.tar>correctly detects the filetype.Clearly seems like the file MIME headers are not being properly set. Still.. it's interesting how
filestill detects it as atararchive even if the extension is removed.Any pointers here?