summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2017-02-09 17:37:42 +0100
committerXisco FaulĂ­ <xiscofauli@libreoffice.org>2017-09-30 10:07:55 +0200
commite6e01b50f5f20154ada1414cc70b1cf54b500262 (patch)
tree15ca79d65dbf28f3bd839b80d7758f567f1d4b49 /bin
parent4627857ed4bc4b750af0cad648d4ce02f10135e9 (diff)
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@libreoffice.org> Reviewed-by: Xisco FaulĂ­ <xiscofauli@libreoffice.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/get-bugzilla-attachments-by-mimetype7
1 files changed, 7 insertions, 0 deletions
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',