[Libreoffice-commits] core.git: bin/get-bugzilla-attachments-by-mimetype
Xisco Fauli
anistenis at gmail.com
Sat Sep 30 08:08:19 UTC 2017
bin/get-bugzilla-attachments-by-mimetype | 7 +++++++
1 file changed, 7 insertions(+)
New commits:
commit e6e01b50f5f20154ada1414cc70b1cf54b500262
Author: Xisco Fauli <anistenis at gmail.com>
Date: Thu Feb 9 17:37:42 2017 +0100
Add WPS Office mimetypes
Sometimes bugzilla set the mimetype to application/wps-office.<the extension> incorrectly.
Ie: Our bugzilla shows 80 bugs with those mimetypes: http://tinyurl.com/ybjrmldu
Change-Id: I9f73c65604d45e76430a2d34401bcfa883534445
Reviewed-on: https://gerrit.libreoffice.org/34101
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Xisco FaulĂ <xiscofauli at libreoffice.org>
diff --git a/bin/get-bugzilla-attachments-by-mimetype b/bin/get-bugzilla-attachments-by-mimetype
index 4c384de7fc07..1450d215b548 100755
--- a/bin/get-bugzilla-attachments-by-mimetype
+++ b/bin/get-bugzilla-attachments-by-mimetype
@@ -428,6 +428,13 @@ mimetypes = {
'application/vnd.visio2013': 'vsdx',
'application/vnd.visio.xml': 'vdx',
'application/x-mspublisher': 'pub',
+#WPS Office
+ 'application/wps-office.doc': 'doc',
+ 'application/wps-office.docx': 'docx',
+ 'application/wps-office.xls': 'xls',
+ 'application/wps-office.xlsx': 'xlsx',
+ 'application/wps-office.ppt': 'ppt',
+ 'application/wps-office.pptx': 'pptx',
# W3C
'application/xhtml+xml': 'xhtml',
'application/mathml+xml': 'mml',
More information about the Libreoffice-commits
mailing list