Summary: | Mime type of .ICO files is not correct | ||
---|---|---|---|
Product: | shared-mime-info | Reporter: | Archana <archana.shah> |
Component: | freedesktop.org.xml | Assignee: | Jonathan Blandford <jrb> |
Status: | RESOLVED DUPLICATE | QA Contact: | |
Severity: | normal | ||
Priority: | high | ||
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Archana
2004-07-19 02:40:52 UTC
In freedesktop.org.xml.in file, mime type for .ico is mentioned. But neither the Magic string is associated for .ico files, nor .ICO is listed. So the file system is not able to detect its mime type peroperly. Hence file manager is not able to open the file. Adding the Magic string for .ico file resolves the problem. Attaching the patch which provides the magic string for .ico files. Here is the Magic string for .ico files: <magic priority="50"> <match type="string" value="\x00\x00\x01\x00" offset="0"/> </magic> I think the real problem here is bug #732. Archana, your magic pattern would be a helpful addition, but given its value, I'm afraid of getting too many false positive with it. I looked http://www.daubnet.com/formats/ICO.html for the ico file format, and I'm not sure it's really easy to make a more specific magic pattern :-/ |
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.