Bug 54268 - gnome-vfs over aggressive in identifying HTML...
gnome-vfs over aggressive in identifying HTML...
Product: Red Hat Public Beta
Classification: Retired
Component: gnome-vfs (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Havoc Pennington
Depends On:
  Show dependency treegraph
Reported: 2001-10-02 15:06 EDT by Johnray Fuller
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-10-02 15:08:00 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Johnray Fuller 2001-10-02 15:06:14 EDT
Description of Problem:

The gnome-vfs magic file is far too aggressive in identifying html.

Version-Release number of selected component (if applicable):


How Reproducible:


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

Actual Results:

SGML is mishandled in the GUI

Expected Results:

Double click should open in emacs, not Galeon

Additional Information:
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

Comment 1 Havoc Pennington 2002-02-26 15:46:06 EST
Upstream as http://bugzilla.gnome.org/show_bug.cgi?id=72721

Closing on Red Hat level.
Comment 2 Havoc Pennington 2002-02-28 08:32:14 EST
Upstream bug needs more info and needs reopening when more info is added.

Note You need to log in before you can comment on or make changes to this bug.