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

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

Commit bff3e94c01bc7afbed46fce892a2ab8d14130205 in nifi's branch 
refs/heads/main from Eric Olson
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=bff3e94 ]

NIFI-7172 Trim trailing whitespace from NiFi properties

This closes #4854

Signed-off-by: David Handermann <[email protected]>


> Trim leading and trailing space from nifi.properties values
> -----------------------------------------------------------
>
>                 Key: NIFI-7172
>                 URL: https://issues.apache.org/jira/browse/NIFI-7172
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Configuration, Configuration Management
>    Affects Versions: 1.11.2
>            Reporter: Andy LoPresto
>            Assignee: Eric Olson
>            Priority: Major
>              Labels: configuration, patch, pull-request-available
>          Time Spent: 3h 10m
>  Remaining Estimate: 0h
>
> Many users have complained about the difficulty of diagnosing unexpected 
> behavior when a {{nifi.properties}} value does not match the desired value 
> perfectly. Many property accessors perform an exact string match, and 
> leading/trailing spaces can cause this to fail silently. This is especially 
> to diagnose because it is often not apparent in the text editors used to 
> display the properties file or log messages. 
> The property value should have both leading and trailing space trimmed before 
> being consumed. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to