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

ASF subversion and git services commented on NIFI-16146:
--------------------------------------------------------

Commit d8aae33a981a85dcf96cc06eeec38b6cbd3e2768 in nifi's branch 
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=d8aae33a981 ]

NIFI-16146 Fixed FileUtils sanitization of UTF-16 in filenames (#11478)

> 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: Bug
>          Components: Core Framework
>    Affects Versions: 2.0.0, 2.10.0
>            Reporter: David Handermann
>            Assignee: David Handermann
>            Priority: Minor
>          Time Spent: 20m
>  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