Public bug reported:

Binary package hint: shared-mime-info

icon caches (created by gtk-update-icon-cache) are currently detected as 
application/x-font-ttf by the pattern
freedesktop.org.xml:5706 <match value="\000\001\000\000\000" type="string" 
offset="0"/>

imho this pattern is much to simple and should be removed/expanded (icon
cashes happen to match this pattern because their header contains the
version number 1.0.12 with 16bit-ints for each part).

icon cache files could be detected by
<glob pattern="*.cache"/>
or even
<treematch type="file" path="icon-theme.cache" match-case="true"/>
as this name seems to be canonical.

** Affects: shared-mime-info (Ubuntu)
     Importance: Undecided
         Status: New

-- 
icon-theme.cache gets detected incorrectly
https://bugs.launchpad.net/bugs/359434
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to shared-mime-info in ubuntu.

-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to