[
https://issues.apache.org/jira/browse/NIFI-10002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17890021#comment-17890021
]
ASF subversion and git services commented on NIFI-10002:
--------------------------------------------------------
Commit 6a53010390da4a3005ab7904517cf10f725bcbb0 in nifi's branch
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=6a53010390 ]
NIFI-10002 Validated Directory Path in ListFile
- Throw IOException for null or blank directories to avoid invalid directory
expressions
Signed-off-by: Pierre Villard <[email protected]>
This closes #9393.
> FetchFile can delete configuration files
> ----------------------------------------
>
> Key: NIFI-10002
> URL: https://issues.apache.org/jira/browse/NIFI-10002
> Project: Apache NiFi
> Issue Type: Bug
> Components: Configuration, Extensions
> Affects Versions: 1.15.3, 2.0.0-M4
> Reporter: Filip Maretić
> Assignee: David Handermann
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> There could be a possible problem with the NiFi ListFile -> FetchFile
> combination when using variables that do not exist in the ListFile processor.
> Steps to reproduce:
> * configure the ListFile's input directory to some variable that does not
> exist ${foo}
> * connect the ListFile to FetchFile and configure FetchFile to delete files
> * start the processors
> * NiFi resolved the ${foo} to empty String or null (not sure) and starts to
> fetch files from the NiFi working directory
> * NiFi autodigests itself
--
This message was sent by Atlassian Jira
(v8.20.10#820010)