[
https://issues.apache.org/jira/browse/NIFI-3853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16006994#comment-16006994
]
ASF GitHub Bot commented on NIFI-3853:
--------------------------------------
GitHub user mcgilman opened a pull request:
https://github.com/apache/nifi/pull/1784
NIFI-3853: Filtering out control characters
NIFI-3853:
- Filtering out certain control characters and unpaired Unicode surrogate
codepoints prior to saving the flow.xml.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mcgilman/nifi NIFI-3853
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/1784.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1784
----
commit b5ee18a17bdedc1e5c01b3f05f8e1f0f4106dd86
Author: Matt Gilman <[email protected]>
Date: 2017-05-11T18:51:50Z
NIFI-3853:
- Filtering out certain control characters and unpaired Unicode surrogate
codepoints prior to saving the flow.xml.
----
> 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)