[ 
https://issues.apache.org/jira/browse/NIFI-16146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Handermann updated NIFI-16146:
------------------------------------
    Status: Patch Available  (was: Open)

> FileUtils Sanitization incorrect handling for UTF-16 characters
> ---------------------------------------------------------------
>
>                 Key: NIFI-16146
>                 URL: https://issues.apache.org/jira/browse/NIFI-16146
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>    Affects Versions: 2.10.0, 2.0.0
>            Reporter: David Handermann
>            Assignee: David Handermann
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The {{FileUtils}} class supports sanitizing filenames by replacing an 
> enumerated list of characters. The initial implementation does not properly 
> handle UTF-16 characters, such as emojis, which require more than one code 
> point for representation in Java. The sanitization method should be adjusted 
> to handle these characters.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to