[
https://issues.apache.org/jira/browse/NIFI-14432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17941504#comment-17941504
]
ASF subversion and git services commented on NIFI-14432:
--------------------------------------------------------
Commit 17e74f41330525ae42d7e7f8be951a4b3e33e86b in nifi's branch
refs/heads/main from Peter Kedvessy
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=17e74f4133 ]
NIFI-14432 MiNiFi Update resource path validation pattern
This closes #9846.
Signed-off-by: Ferenc Kis <[email protected]>
> MiNiFi Update resource path validation pattern
> ----------------------------------------------
>
> Key: NIFI-14432
> URL: https://issues.apache.org/jira/browse/NIFI-14432
> Project: Apache NiFi
> Issue Type: Bug
> Components: MiNiFi
> Affects Versions: 2.1.0, 2.2.0, 2.3.0
> Reporter: Peter Kedvessy
> Assignee: Peter Kedvessy
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Update resource path validation pattern to
> {code:java}
> ^(?:[^~<>:\\|\\\"\\?\\*\\.\\/\\\\]+(?:[/\\\\][^~<>:\\|\\\"\\?\\*\\.\\/\\\\]+)*)?$
> {code}
> so we can't assign multiple resources to a given agent class with the same
> resource name and different path as a string but with the same at file system
> level. Eg ./folder/subfolder folder/subfolder folder/./subfolder
> folder/././subfolder and so on.
> Without this fix, we can assign multiple resource with the same path at file
> system level. As a result, un-assigning one of them will make other resource
> assignments inaccessible.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)