You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Ferenc Kis (Jira)" <ji...@apache.org> on 2025/04/07 09:06:00 UTC
[jira] [Updated] (NIFI-14432) MiNiFi Update resource path validation pattern
[ https://issues.apache.org/jira/browse/NIFI-14432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ferenc Kis updated NIFI-14432:
------------------------------
Fix Version/s: 2.4.0
> 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
> Fix For: 2.4.0
>
> 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)