Expander: use mime type/sniffer to detect archive type as fallback
|Reported by:||umccullough||Owned by:||korli|
|Has a Patch:||no||Platform:||All|
It seems that I have downloaded a .tgz file that has the wrong extension (it's actually a .tar). Someone told me this was possibly a Web+ bug, but that doesn't matter.
What I'd like is for Expander to not fail trying to extract this file, but to recognize it's really a .tar file instead. It seems the mime sniffer has figured this out, so it would be nice if that was the fallback when no files were located in the archive based on the extension.
The file in question is the tuxpaint archive downloaded from here using Web+:
Note, when I download it with Chrome on Windows, it does appear to be a proper .tgz, but with Web+ on Haiku, I have to rename it .tar (or eliminate the extension entirely) before Expander can unarchive it.