[
https://issues.apache.org/jira/browse/NIFI-16146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Villard updated NIFI-16146:
----------------------------------
Fix Version/s: 2.11.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
> 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
> Fix For: 2.11.0
>
> 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)