Comment 0 for bug 359434

Revision history for this message
In , Stefan Friesel (stefan-friesel) wrote :

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.