- From: Sandro Amato via GitHub <sysbot+gh@w3.org>
- Date: Thu, 13 May 2021 11:00:31 +0000
- To: public-svg-issues@w3.org
> Linux/Gnome/KDE .... etc > command: $ xdg-mime query filetype test.svgz > result: image/svg+xml-compressed > > -compressed = more, more problem upload files. > svgz, svgrar, svg7zip, svgnowzip, svgformat, svgcompact, svgmin ..etc - Bad Design. suppose `plainsvg.svg` is a plain svg and `gzippedsvg.svgz` is a gzipped svg then if you do: ``` $ mv gzippedsvg.svgz gzippedsvg.svg $ xdg-mime query filetype test.svg ``` you get: `image/svg+xml` and if you do: ``` $ mv plainsvg.svg plainsvg.svgz $ xdg-mime query filetype test.svg ``` you get: `image/svg+xml-compressed` it seems that command use the file extension... not ( only? ) the magic number! (better the `file` command to determine file type?) -- GitHub Notification of comment by sdroamt0 Please view or discuss this issue at https://github.com/w3c/svgwg/issues/701#issuecomment-840483413 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 13 May 2021 11:00:33 UTC