Kevan Jahanshahi created UNOMI-543:
--------------------------------------
Summary: Add validation on filename for
ImportConfigurationServiceEndPoint
Key: UNOMI-543
URL: https://issues.apache.org/jira/browse/UNOMI-543
Project: Apache Unomi
Issue Type: Bug
Reporter: Kevan Jahanshahi
curl -v -k -H "Authorization: Basic a2FyYWY6a2FyYWY=" -F "file=" -F
"importConfigId=../../../../../../../../../../../../../../../../../../../../../../../../../../../tmp/123456789"
-X POST [https://127.0.0.1:9443/cxs/importConfiguration/oneshot]
Execute the command "ls /tmp".Viewing the /tmp directory will generate a
'123456789.csv' file.
Only alphanumeric characters should be allowed in the file name and some
characters like: -_.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)