camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vishal Changrani <>
Subject Question about change to
Date Tue, 29 Jan 2013 23:23:56 GMT

In this particular SVN commit, in method - compactPath, I see that the check
for ".." in the path has been removed. Earier if path didn't contained '..' then the function
would just return.

) Rev: 1388906

Problem with that is that in my case I have a windows machine which is trying to FTP to a
linux box via Camel's FTP File producer.
The target ftp folder is /public/data but as Camel tries to do a step wise change of directories,
it first tries to cd to / but on calling FileUtil.compactPath this returns \\ (since host
OS ..not remote OS in windows) and a cd to \\ on the ftp session fails :(

Can someoen please shed some light on why this change was done and if it could be reverted.
The SVN commit says - "fixed a regression in ValidatorSchemaImportTest which was introduced
with r1388762<;revision=1388762>"


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message