You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Eric Secules (Jira)" <ji...@apache.org> on 2023/10/02 20:38:00 UTC
[jira] [Assigned] (NIFI-11084) Character/text data "mis-identified" by IdentifyMimeType processor
[ https://issues.apache.org/jira/browse/NIFI-11084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Secules reassigned NIFI-11084:
-----------------------------------
Assignee: Eric Secules
> Character/text data "mis-identified" by IdentifyMimeType processor
> ------------------------------------------------------------------
>
> Key: NIFI-11084
> URL: https://issues.apache.org/jira/browse/NIFI-11084
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.15.2, 1.19.1
> Environment: Windows Server 2019, Java 11.0.17
> Reporter: Mark Ward
> Assignee: Eric Secules
> Priority: Minor
> Attachments: mime_type_mis-id_file.csv
>
>
> When *IdentifyMimeType* is presented with a text file with a `.csv` extension and the first two characters of the content as `P2`, the processor mis-identifies the mime.extension as `pgm` and mime.type as `image/x-portable-graymap`.
> The processor's *Use Filename In Detection* property is set to `true`.
> An example file is attached and the following flow and be used to reproduce: *GetFile* > *IdentifyMimeType* where the outputted flowfile's attributes can be inspected.
> This has been tested on NiFi versions `1.15.2` and `1.19.1` both running on a Window's Server 2019 instance.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)