Details
Description
For example
<from uri="file:src/test/resources/data?noop=true"/> <setHeader headerName="CamelFileName"> <simple>../../${file:name}</simple> </setHeader> <to uri="file:target/results"/>
Can write the file outside the target/results folder. We should not allow this by default to be more security friendly.
We should add a new option (maybe name it jailStartingDirectory or allowWriteOutsideStartingDirectory) or some better name
Attachments
Issue Links
- is related to
-
CAMEL-18616 camel-file - Add option to jail starting directory
- Resolved
- links to