This is an automated email from the ASF dual-hosted git repository.
Croway pushed a change to branch camel-4.22.x
in repository https://gitbox.apache.org/repos/asf/camel.git
from 5a3d526c48a6 [backport camel-4.22.x] CAMEL-27449: camel-crypto-pgp -
decrypt OCB (AEAD) messages of current GnuPG, which are integrity protected
(#30665)
new 67d11ddfe611 CAMEL-27453: camel-file - starting directory check:
normalize paths without special prefixes
new be664add2910 CAMEL-27453: camel-ftp - jailStartingDirectory: refuse a
name with both a backslash and a .. segment unless separator is UNIX
new 4d0b742a031b CAMEL-27453: camel-ftp, camel-mina-sftp - stepwise: stay
in the current directory for a path that compacts to it
new 81a1d5cc3564 CAMEL-27453: camel-ftp - document that a producer without
a directory does not restrict absolute file names
new 82af5c0b24cd CAMEL-27453: camel-ftp, camel-mina-sftp - address review
feedback
The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../apache/camel/catalog/docs/ftp-component.adoc | 15 ++
.../camel/catalog/docs/mina-sftp-component.adoc | 15 ++
.../apache/camel/catalog/docs/sftp-component.adoc | 15 ++
.../camel/component/file/GenericFileHelper.java | 95 +++++++++++-
.../camel/component/file/GenericFileProducer.java | 28 +++-
.../component/file/GenericFileHelperTest.java | 100 ++++++++++++
.../file/remote/AbstractSftpConsumer.java | 5 +
.../camel/component/file/remote/FtpUtils.java | 33 ++++
.../component/file/remote/RemoteFileConsumer.java | 20 +--
.../component/file/remote/RemoteFileProducer.java | 13 ++
.../camel-ftp/src/main/docs/ftp-component.adoc | 15 ++
.../camel-ftp/src/main/docs/sftp-component.adoc | 15 ++
.../camel/component/file/remote/FtpConsumer.java | 9 ++
.../component/file/remote/SftpOperations.java | 9 +-
.../camel/component/file/remote/FakeFtpServer.java | 16 ++
.../remote/FtpConsumerListedDirectoryNameTest.java | 168 +++++++++++++++++++++
...emoteFileConsumerStartingDirectoryJailTest.java | 34 +++++
...emoteFileProducerStartingDirectoryJailTest.java | 112 ++++++++++++++
...roducerJailStartingDirectoryResolvedNameIT.java | 81 ++++++++++
.../sftp/integration/HomeDirectorySftpServer.java | 79 ++++++++++
.../integration/SftpStepwiseChangeDirectoryIT.java | 143 ++++++++++++++++++
.../src/main/docs/mina-sftp-component.adoc | 15 ++
.../file/remote/mina/MinaSftpOperations.java | 10 +-
.../mina/integration/HomeDirectorySftpServer.java | 79 ++++++++++
.../MinaSftpStepwiseChangeDirectoryIT.java | 165 ++++++++++++++++++++
.../apache/camel/component/smb/SmbConsumer.java | 5 +-
26 files changed, 1262 insertions(+), 32 deletions(-)
create mode 100644
components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerListedDirectoryNameTest.java
create mode 100644
components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/RemoteFileProducerStartingDirectoryJailTest.java
create mode 100644
components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerJailStartingDirectoryResolvedNameIT.java
create mode 100644
components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/HomeDirectorySftpServer.java
create mode 100644
components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpStepwiseChangeDirectoryIT.java
create mode 100644
components/camel-mina-sftp/src/test/java/org/apache/camel/component/file/remote/mina/integration/HomeDirectorySftpServer.java
create mode 100644
components/camel-mina-sftp/src/test/java/org/apache/camel/component/file/remote/mina/integration/MinaSftpStepwiseChangeDirectoryIT.java