Bug 26316

Summary: XHTML is detected as text/html
Product: shared-mime-info Reporter: Daniel Leidert <daniel.leidert.spam>
Component: generalAssignee: Jonathan Blandford <jrb>
Status: RESOLVED DUPLICATE QA Contact:
Severity: major    
Priority: high    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: testcase, simple XHTML 1.0 file

Description Daniel Leidert 2010-01-29 05:34:37 UTC
Created attachment 32896 [details]
testcase, simple XHTML 1.0 file

XHTML files are detected as text/html files. This is the case for both gvfs-info and kmimetypefinder. Testcase is attached.

I could understand the detection as text/html if the content-type would be text/html, but in the testcase it is also application/xhtml+xml.

Please tell me, if you think this might be an issue in the implementation. Then I will forward it to the GNOME and KDE bug trackers.
Comment 1 Daniel Leidert 2010-01-29 13:15:01 UTC

*** This bug has been marked as a duplicate of bug 19201 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.