fix mime table for ms office / open office documents

(causing wrong parser detect in intranet mode)
pull/37/head
reger 9 years ago
parent 7c6d6cd69a
commit e84d94f8ca

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

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

Loading…
Cancel
Save