[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#274641: Missing official MIME type for MS Word documents



Package: openoffice.org-debian-files
Version: 1.1.2-4+1
Tags: patch

The official MIME type for MS Word documents is "application/msword"; see
http://www.iana.org/assignments/media-types/application/msword .
"application/vnd.ms-word" is in common use, but is not an official MIME
type.

It is therefore wise to follow the principle of "be liberal in what you
accept, but be careful in what you send out". openoffice.org-debian-files
currently does not follow this principle, as it only registers for the
unofficial MIME type. The attached patch corrects this.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (800, 'unstable'), (750, 'experimental'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.28-pre3
Locale: LANG=C, LC_CTYPE=en_US.ISO8859-1

Versions of packages openoffice.org-debian-files depends on:
ii  debianutils                   2.10.2     Miscellaneous utilities specific t
ii  openoffice.org                1.1.2-4    high-quality office productivity s
ii  openoffice.org-bin            1.1.2-4    OpenOffice.org office suite binary

-- no debconf information
-- 
Obsig: developing a new sig
diff -ruN openoffice.org-debian-files-1.1.2.old/debian/openoffice.org-debian-files.mime openoffice.org-debian-files-1.1.2/debian/openoffice.org-debian-files.mime
--- openoffice.org-debian-files-1.1.2.old/debian/openoffice.org-debian-files.mime	2003-09-13 23:13:28.000000000 +0200
+++ openoffice.org-debian-files-1.1.2/debian/openoffice.org-debian-files.mime	2004-10-03 12:20:01.000000000 +0200
@@ -19,6 +19,7 @@
 application/msword; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.doc; description="Microsoft Word Document"; priority=3
 application/msexcel; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.xls; description="Microsoft Excel Document"; priority=3
 application/mspowerpoint; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.ppt; description="Microsoft PowerPoint Document"; priority=3
+application/msword; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.doc; description="Microsoft Word Document"; priority=3
 application/vnd.ms-word; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.doc; description="Microsoft Word Document"; priority=3
 application/vnd.ms-excel; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.xls; description="Microsoft Excel Document"; priority=3
 application/vnd.ms-powerpoint; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.ppt; description="Microsoft PowerPoint Document"; priority=3

Reply to: