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

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

Commit 6ffb78d40465daff3b77a3b426732b5b515e3233 in nifi's branch 
refs/heads/master from [~mcgilman]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=6ffb78d ]

NIFI-3853:
- Filtering out certain control characters and unpaired Unicode surrogate 
codepoints prior to saving the flow.xml.

This closes #1784.

Signed-off-by: Andy LoPresto <[email protected]>


> 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
>             Fix For: 1.3.0
>
>
> 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)

Reply via email to