fix mime table for ms office / open office documents

(causing wrong parser detect in intranet mode)
This commit is contained in:
reger 2015-12-22 17:48:24 +01:00
parent 7c6d6cd69a
commit e84d94f8ca
2 changed files with 9 additions and 5 deletions

View File

@ -23,8 +23,9 @@ csv = text/csv
db = application/octet-stream
dll = application/octet-stream
doc = application/msword
docx = application/msword
docx = application/vnd.openxmlformats-officedocument.wordprocessingml.document
dot = application/msword
dotx = application/vnd.openxmlformats-officedocument.wordprocessingml.template
dvi = application/x-dvi
eps = application/postscript
exe = application/octet-stream
@ -82,9 +83,11 @@ phtml = application/x-httpd-php
pl = text/plain
png = image/png
pot = application/mspowerpoint
potx = application/vnd.openxmlformats-officedocument.presentationml.template
pps = application/mspowerpoint
ppsx = application/vnd.openxmlformats-officedocument.presentationml.slideshow
ppt = application/mspowerpoint
pptx = application/mspowerpoint
pptx = application/vnd.openxmlformats-officedocument.presentationml.presentation
ppz = application/mspowerpoint
ps = application/postscript
py = text/html
@ -128,7 +131,8 @@ wmv = video/x-ms-wmv
xhtml = text/xhtml+xml
xla = application/msexcel
xls = application/msexcel
xlsx = application/msexcel
xlsx = application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
xltx = application/vnd.openxmlformats-officedocument.spreadsheetml.template
xpi = application/x-xpinstall
xsl = text/xml
xml = text/xml

View File

@ -178,10 +178,10 @@ public class ooxmlParser extends AbstractParser implements Parser {
docKeywords,
singleList(docLongTitle),
docAuthor,
"",
null,
null,
descriptions,
0.0f, 0.0f,
0.0d, 0.0d,
contentBytes,
null,
null,