In looking at moving from Plexus FileUtils.normalize to IO
FilenameUtils.normalize, there's on feature difference in that the
latter does not convert '//etc/passwd' to '/etc/passwd'. Kenney
suggests on #plexus that that is probably to support Windows SMB
names.

RepositoryAccessTest contains a test that now fails:

       assertRequestPath( "central", "/etc/passwd", "/central//etc/passwd" );

It returns '//etc/passwd'.

Anyone know if the solution here is:

a) To consider /etc/passwd the right answer.
or
b) To modify the getRepositoryPath method to fold '^//' into '/'.

Or something else?

Hen

Reply via email to