[
https://issues.apache.org/jira/browse/NIFI-3853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16004595#comment-16004595
]
Matt Gilman commented on NIFI-3853:
-----------------------------------
It appears that certain escaping is already occuring (<, >, &, etc). However,
as mentioned above some characters actually need to be filtered out as even
after escaping they cannot be represented in XML. Those characters need to be
filtered out.
> Escape configurations prior to writing flow.xml
> -----------------------------------------------
>
> Key: NIFI-3853
> URL: https://issues.apache.org/jira/browse/NIFI-3853
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Reporter: Matt Gilman
> Assignee: Matt Gilman
> Priority: Critical
>
> If invalid characters are entered through the UI, they can corrupt the
> flow.xml.gz making it unparsable on future restarts. Once in this state, the
> flow.xml.gz needs to be hand-edited to remove the invalid characters.
> Characters outside the following ranges may cause issues:
> {code}
> #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF]
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)