Bug#784545: libfile-mimeinfo-perl: mimetype --stdin always returns text/plain
Marius Gavrilescu
marius at ieval.ro
Wed May 6 14:32:46 UTC 2015
Package: libfile-mimeinfo-perl
Version: 0.26-1
Severity: normal
Found it at [0]. Steps to reproduce:
$ wget -qO test.png https://www.debian.org/Pics/openlogo-50.png
$ ls -l test.png
-rw-r--r-- 1 marius marius 2.0K Feb 5 2011 test.png
$ file -i test.png
test.png: image/png; charset=binary
$ mimetype -M test.png
test.png: image/png
$ mimetype --stdin < test.png
STDIN: text/plain
[0]: https://superuser.com/questions/910151/mimetype-stdin-always-returns-text-plain
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libfile-mimeinfo-perl depends on:
ii libfile-basedir-perl 0.03-1
ii libfile-desktopentry-perl 0.07-1
ii perl 5.20.2-4
ii shared-mime-info 1.3-1
libfile-mimeinfo-perl recommends no packages.
libfile-mimeinfo-perl suggests no packages.
-- no debconf information
--
Marius Gavrilescu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20150506/88a00497/attachment.sig>
More information about the pkg-perl-maintainers
mailing list