[ 
https://issues.apache.org/jira/browse/TIKA-2922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16905423#comment-16905423
 ] 

ASF GitHub Bot commented on TIKA-2922:
--------------------------------------

tballison commented on issue #279: Fix for TIKA-2922 contributed by 
pascal.essiembre
URL: https://github.com/apache/tika/pull/279#issuecomment-520522861
 
 
   Thank you @essiembre !
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Regression issue with detecting .dotx and .xlam MS Office mime-types
> --------------------------------------------------------------------
>
>                 Key: TIKA-2922
>                 URL: https://issues.apache.org/jira/browse/TIKA-2922
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.22
>         Environment: N/A
>            Reporter: Pascal Essiembre
>            Priority: Minor
>
> After upgrading to 1.22, .dotx and .xlam files are no longer detected 
> properly. 
> They are now detected as:
>  
> {noformat}
> .dotx -> vnd.ms-word.template.macroenabled.12
> .xlam -> application/x-tika-ooxml{noformat}
>  
> They should be detected like they originally were: 
> {noformat}
> .dotx -> vnd.openxmlformats-officedocument.wordprocessingml.template
> .xlam -> application/vnd.ms-excel.addin.macroenabled.12{noformat}
> Reference: 
> [https://docs.microsoft.com/en-us/previous-versions/office/office-2007-resource-kit/ee309278(v=office.12)]
> It is happening in StreamingZipContainerDetector and ZipContainerDetectorBase.
> I will submit a pull request shortly with the correct mapping.
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to