[ https://issues.apache.org/jira/browse/NIFI-1335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15080460#comment-15080460 ]
Ricky Saltzer commented on NIFI-1335: ------------------------------------- That sounds like the best option. If everything looks good, I'll go ahead and push that PR to master. > Make UnpackContent recognize tar mime type from DetectMimeType > -------------------------------------------------------------- > > Key: NIFI-1335 > URL: https://issues.apache.org/jira/browse/NIFI-1335 > Project: Apache NiFi > Issue Type: Task > Reporter: Ricky Saltzer > Assignee: Ricky Saltzer > Priority: Minor > Fix For: 0.5.0 > > > While creating a pipeline using a {{DetectMimeType}} and {{UnpackContent}} > processor, I noticed that the {{UnpackContent}} expects {{application/tar}} > inside of the {{mime.attribute}} for tar archives, which is not correct. The > Apache Tika project actually produces (1) {{application/x-tar}}. > (1): > https://tika.apache.org/1.11/api/org/apache/tika/server/writer/TarWriter.html > This fix should be fairly simple. I propose we modify the {{UnpackContent}} > processor to accept both {{application/tar}} and {{application/x-tar}} to > ensure backwards compatibility with previous workflows. -- This message was sent by Atlassian JIRA (v6.3.4#6332)