Stephane Maarek created NIFI-1915:
-------------------------------------
Summary: ReplaceText infinite loops when attribute contains $ sign
Key: NIFI-1915
URL: https://issues.apache.org/jira/browse/NIFI-1915
Project: Apache NiFi
Issue Type: Bug
Components: Core Framework
Affects Versions: 0.6.1
Reporter: Stephane Maarek
Priority: Critical
I think the biggest issue is that the text inside of an attribute isn't
properly escaped when written to a String, which brings conflict when the text
contains dollar signs ($)
That's a big roadblock for me as I can't predict if and when some $ signs may
be present in the data
An easy way to reproduce is to take the csv to json template here:
https://cwiki.apache.org/confluence/download/attachments/57904847/CsvToJSON.xml?version=1&modificationDate=1442927496000&api=v2
In the first ReplaceText, replace a,b,c,d by a$a,b,c,d (it simulates data that
may or may not contain a $ sign)
Launch the flow, you'll see the errors / warning / infinite loop
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)