This is an automated email from the ASF dual-hosted git repository.
Croway pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
from 4fff2b00c404 CAMEL-26387: retry on HTTP 429 and mention
skipTests.<arch> in HostArchitectureImagePullPolicy
new ce4523f447b1 CAMEL-27453: camel-file - starting directory check:
normalize paths without special prefixes
new e46d77bcca6c CAMEL-27453: camel-ftp - jailStartingDirectory: refuse a
name with both a backslash and a .. segment unless separator is UNIX
new 35585595184c CAMEL-27454: camel-ftp - a producer without a directory
refuses absolute file names
new 8dca61cd4b1d CAMEL-27453: camel-ftp, camel-mina-sftp - stepwise: stay
in the current directory for a path that compacts to it
new 95f2d34b1f3e CAMEL-27453: camel-ftp -
handleDirectoryParserAbsoluteResult: change into a listed directory by its name
new 3cf79c4997bb CAMEL-27453: camel-ftp, camel-mina-sftp, camel-jsch -
address review feedback
The 6 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:
.../camel/component/file/GenericFileHelper.java | 95 ++++++-
.../camel/component/file/GenericFileProducer.java | 49 +++-
.../component/file/GenericFileHelperTest.java | 100 +++++++
.../file/remote/AbstractSftpConsumer.java | 5 +
.../camel/component/file/remote/FtpUtils.java | 35 ++-
.../component/file/remote/RemoteFileConsumer.java | 20 +-
.../component/file/remote/RemoteFileProducer.java | 14 +
.../camel/component/file/remote/FtpConsumer.java | 64 ++++-
.../component/file/remote/SftpOperations.java | 9 +-
.../camel/component/file/remote/FakeFtpServer.java | 24 +-
.../remote/FtpConsumerListedDirectoryNameTest.java | 305 +++++++++++++++++++++
...emoteFileConsumerStartingDirectoryJailTest.java | 34 +++
...emoteFileProducerStartingDirectoryJailTest.java | 132 +++++++++
...roducerJailStartingDirectoryResolvedNameIT.java | 81 ++++++
.../sftp/integration/HomeDirectorySftpServer.java | 79 ++++++
.../integration/SftpStepwiseChangeDirectoryIT.java | 143 ++++++++++
.../apache/camel/component/scp/ScpProducer.java | 9 +
.../scp/ScpProducerBackslashNameTest.java | 89 ++++++
.../file/remote/mina/MinaSftpOperations.java | 10 +-
.../mina/integration/HomeDirectorySftpServer.java | 79 ++++++
.../MinaSftpStepwiseChangeDirectoryIT.java | 165 +++++++++++
.../apache/camel/component/smb/SmbConsumer.java | 5 +-
.../ROOT/pages/camel-4x-upgrade-guide-4_18.adoc | 31 +++
.../ROOT/pages/camel-4x-upgrade-guide-4_22.adoc | 29 ++
.../ROOT/pages/camel-4x-upgrade-guide-4_24.adoc | 53 ++++
25 files changed, 1622 insertions(+), 37 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-jsch/src/test/java/org/apache/camel/component/scp/ScpProducerBackslashNameTest.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