Question
Nifi treating newline as argument delimiter despite custom config
I'm having issues with ExecuteStreamCommand, I have set up the Argument Delimiter as ~ like screenshot below:

However when ERROR_DETAIL attribute contains newline characters (\n or %0A) apparently Nifi treats the newline as a delimiter and hence the shell script receives more than 1 arguments in the place of ERROR_DETAIL. I was expecting Nifi to use strictly just the ~ character as the argument delimiter.
Am I missing a different config in Nifi? Is there a way to make Nifi ignores the newline and only use the ~ as the delimiter?

