Your message dated Sat, 03 May 2008 12:58:22 +0200
with message-id <[EMAIL PROTECTED]>
and subject line file: fixed in 4.24-1
has caused the Debian Bug report #223340,
regarding [libmagic1] Mismatch between normal and .mime "magic" files
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
223340: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=223340
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: libmagic1
Version: 4.06-1
Severity: normal
Hello:
There seems to be a mismatch between the contents of two of the files
used to map file contents to both textual descriptions and MIME types:
/usr/share/misc/file/magic
/usr/share/misc/file/magic.mime
I realized this when "file some_html_file.html" reports it is indeed a
"HTML document text", but "file -s same_html_file.html" reports MIME
type "text/plain".
In /usr/share/misc/file/magic we have (among others, just an example):
0 string/cB \<!doctype\ html HTML document text
0 string/cb \<!doctype exported SGML document text
In /usr/share/misc/file/magic.mime we have:
0 string \<!doctype\ HTML text/html
0 string \<!DOCTYPE\ HTML text/html
0 string \<!doctype\ html text/html
0 string \<!doctype\ HTML text/html
The "case insentive-ness" in the first file matches more "HTML files"
that the four entries in the second, and in some cases you get
different results based on the file contents, for example:
user:box~$ head -2 /tmp/index.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
user:box~$ file /tmp/index.html
/tmp/windows.html: HTML document text
user:box~$ file -i /tmp/index.html
/tmp/windows.html: text/plain; charset=us-ascii
Keep up the good work !
--
José Luis Domingo López
Linux Registered User #189436 Debian Linux Sid (Linux 2.6.0-test10-mm1)
--- End Message ---
--- Begin Message ---
Version: 4.24-1
Hi,
this bug has been fixed in file 4.24-1, thus closing. Thanks a lot to
Reuben Thomas for making this possible in upstream.
Regards,
Daniel
--
Address: Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email: [EMAIL PROTECTED]
Internet: http://people.panthera-systems.net/~daniel-baumann/
--- End Message ---