[Libreoffice-commits] core.git: bin/get-bugzilla-attachments-by-mimetype connectivity/registry

Michael Stahl mstahl at redhat.com
Sat Nov 23 07:06:39 PST 2013


 bin/get-bugzilla-attachments-by-mimetype                                 |    1 +
 connectivity/registry/dbase/org/openoffice/Office/DataAccess/Drivers.xcu |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 7ab15103b74a16d774fc0c47ddae5d69e6be5082
Author: Michael Stahl <mstahl at redhat.com>
Date:   Sat Nov 23 16:01:22 2013 +0100

    connectivity: use "application/x-dbase" for DBase files
    
    ... which is what we already use in calc.desktop; also
    "application/dbaes" is not registered at IANA.
    
    Change-Id: Ic2031a53e6620d10874df8882448497564962114

diff --git a/bin/get-bugzilla-attachments-by-mimetype b/bin/get-bugzilla-attachments-by-mimetype
index ac5967d..9e108ff 100755
--- a/bin/get-bugzilla-attachments-by-mimetype
+++ b/bin/get-bugzilla-attachments-by-mimetype
@@ -304,6 +304,7 @@ mimetypes = {
 # misc
     'text/csv': 'csv',
     'text/spreadsheet': 'slk',
+    'application/x-dbase': 'dbf',
     'application/vnd.corel-draw': 'cdr',
     'application/vnd.lotus-wordpro': 'lwp',
     'application/vnd.lotus-1-2-3': 'wks',
diff --git a/connectivity/registry/dbase/org/openoffice/Office/DataAccess/Drivers.xcu b/connectivity/registry/dbase/org/openoffice/Office/DataAccess/Drivers.xcu
index 8798ce8..02e61f2 100644
--- a/connectivity/registry/dbase/org/openoffice/Office/DataAccess/Drivers.xcu
+++ b/connectivity/registry/dbase/org/openoffice/Office/DataAccess/Drivers.xcu
@@ -82,7 +82,7 @@
         </node>
         <node oor:name="MediaType" oor:op="replace">
           <prop oor:name="Value" oor:type="xs:string">
-            <value>application/dbase</value>
+            <value>application/x-dbase</value>
           </prop>
         </node>
       </node>


More information about the Libreoffice-commits mailing list