Affected Stackable version
25.7
Affected Apache NiFi version
2.4.0
Current and expected behavior
When the Stackable NiFi operator takes a parameter value and uses it in one of its XML-based configuration files it does not escape reserved characters. This means that if the value contains a character such as an ampersand (&) then the result is malformed XML document that cannot be parsed, causing NiFi to fail on startup.
Possible solution
The operator should escape any reserved characters when it includes a parameter value e.g. replacing & with &.
Additional context
No response
Environment
No response
Would you like to work on fixing this bug?
None