Need to accommodate other presentations of '.' and '..' (such as './'
and '../'). Ran into this when we tried to find children from an ssh
server that presented things as ../ and ./ .
Index: SftpFileObject.java
===================================================================
RCS file:
/home/cvspublic/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/
vfs/provider/sftp/SftpFileObject.java,v
retrieving revision 1.5
diff -r1.5 SftpFileObject.java
236c236
< if ( name.equals( "." ) || name.equals( ".." ) )
---
> if ( name.matches("\\./?") || name.matches( "\\.\\./?" ) )
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]