David Handermann created NIFI-16146:
---------------------------------------
Summary: 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
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)