bin/get-bugzilla-attachments-by-mimetype | 7 +++++++ 1 file changed, 7 insertions(+)
New commits: commit e6e01b50f5f20154ada1414cc70b1cf54b500262 Author: Xisco Fauli <aniste...@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 <c...@libreoffice.org> Reviewed-by: Xisco Faulà <xiscofa...@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',
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits