Commit 6d54b187 authored by Bastien Nocera's avatar Bastien Nocera
Browse files

* freedesktop.org.xml.in:

* tests/list: Add another magic for Word documents, along with a test
case update (Closes: #20275)
parent cfb84bbe
2009-04-20 Bastien Nocera <hadess@hadess.net>
* freedesktop.org.xml.in:
* tests/list: Add another magic for Word documents, along with a test
case update (Closes: #20275)
2009-04-20 Bastien Nocera <hadess@hadess.net> 2009-04-20 Bastien Nocera <hadess@hadess.net>
* freedesktop.org.xml.in: Avoid some .ini files getting detected * freedesktop.org.xml.in: Avoid some .ini files getting detected
......
...@@ -490,7 +490,7 @@ command to generate the output files. ...@@ -490,7 +490,7 @@ command to generate the output files.
<_comment>Word document</_comment> <_comment>Word document</_comment>
<sub-class-of type="application/x-ole-storage"/> <sub-class-of type="application/x-ole-storage"/>
<generic-icon name="x-office-document"/> <generic-icon name="x-office-document"/>
<magic priority="50"> <magic priority="60">
<match type="string" value="\x31\xbe\x00\x00" offset="0"/> <match type="string" value="\x31\xbe\x00\x00" offset="0"/>
<match type="string" value="PO^Q`" offset="0"/> <match type="string" value="PO^Q`" offset="0"/>
<match type="string" value="\376\067\0\043" offset="0"/> <match type="string" value="\376\067\0\043" offset="0"/>
...@@ -498,6 +498,7 @@ command to generate the output files. ...@@ -498,6 +498,7 @@ command to generate the output files.
<match type="string" value="MSWordDoc" offset="2112"/> <match type="string" value="MSWordDoc" offset="2112"/>
<match type="string" value="MSWordDoc" offset="2108"/> <match type="string" value="MSWordDoc" offset="2108"/>
<match type="string" value="Microsoft Word document data" offset="2112"/> <match type="string" value="Microsoft Word document data" offset="2112"/>
<match type="string" value="bjbj" offset="546"/>
</magic> </magic>
<glob pattern="*.doc"/> <glob pattern="*.doc"/>
<alias type="application/vnd.ms-word"/> <alias type="application/vnd.ms-word"/>
......
...@@ -62,7 +62,7 @@ ooo.stw application/vnd.sun.xml.writer.template ox ...@@ -62,7 +62,7 @@ ooo.stw application/vnd.sun.xml.writer.template ox
ooo.sxw application/vnd.sun.xml.writer ooo.sxw application/vnd.sun.xml.writer
ooo.vor application/vnd.stardivision.writer ooo.vor application/vnd.stardivision.writer
ooo-xp.doc application/msword ooo-xp.doc application/msword
office.doc application/msword ox office.doc application/msword
# Copied from http://bugzilla.abisource.com/show_bug.cgi?id=6435 # Copied from http://bugzilla.abisource.com/show_bug.cgi?id=6435
test-template.dot application/msword-template oxx test-template.dot application/msword-template oxx
# Copied from http://www.ebooktechnologies.com/downloads/ocf10-20060911.epub # Copied from http://www.ebooktechnologies.com/downloads/ocf10-20060911.epub
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment