Peter Kedvessy created NIFI-14432:
-------------------------------------

             Summary: 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.3.0, 2.2.0, 2.1.0
            Reporter: Peter Kedvessy


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)

Reply via email to