Red Hat Bugzilla – Bug 54268
gnome-vfs over aggressive in identifying HTML...
Last modified: 2008-05-01 11:38:00 EDT
Description of Problem:
The gnome-vfs magic file is far too aggressive in identifying html.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.touch a .SGML file and add content
2. if a <image> or <doctype> tag(both are valid in SGML) in the first 64
bytes, gnome erroneously attaches an HTML mime type
SGML is mishandled in the GUI
Double click should open in emacs, not Galeon
The file in question which needs to be altered is:
The passages are:
0:64 string \<TITLE text/html
0:64 string \<title text/html
0:64 string \<!DOCTYPE\ HTML text/html
0:64 string \<!doctype\ html text/html
Upstream as http://bugzilla.gnome.org/show_bug.cgi?id=72721
Closing on Red Hat level.
Upstream bug needs more info and needs reopening when more info is added.