nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NIFI-1617) IdentifyMimeType processor doesn't identify CSV files as text/csv
Date Fri, 18 Mar 2016 13:43:33 GMT

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

ASF GitHub Bot commented on NIFI-1617:
--------------------------------------

Github user jfrazee closed the pull request at:

    https://github.com/apache/nifi/pull/273


> IdentifyMimeType processor doesn't identify CSV files as text/csv
> -----------------------------------------------------------------
>
>                 Key: NIFI-1617
>                 URL: https://issues.apache.org/jira/browse/NIFI-1617
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 0.5.1
>            Reporter: Joey Frazee
>            Assignee: Matt Burgess
>            Priority: Minor
>             Fix For: 0.6.0
>
>
> The IdentifyMimeType processor doesn't identify CSV files as text/csv.
> As far as I can tell the reason is that the Tika Detector identifies some mime types
just based on the input filename rather than the content. IdentifyMimeType doesn't appear
to be passing in the filename to the metadata provided to the Detector when doing detection
[1].
> 1. https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/IdentifyMimeType.java#L126



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message