You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by gn...@apache.org on 2010/05/06 18:00:30 UTC
svn commit: r941786 -
/mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/server/sftp/SftpSubsystem.java
Author: gnodet
Date: Thu May 6 16:00:30 2010
New Revision: 941786
URL: http://svn.apache.org/viewvc?rev=941786&view=rev
Log:
[sshd] fix sftp navigation
Modified:
mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/server/sftp/SftpSubsystem.java
Modified: mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/server/sftp/SftpSubsystem.java
URL: http://svn.apache.org/viewvc/mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/server/sftp/SftpSubsystem.java?rev=941786&r1=941785&r2=941786&view=diff
==============================================================================
--- mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/server/sftp/SftpSubsystem.java (original)
+++ mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/server/sftp/SftpSubsystem.java Thu May 6 16:00:30 2010
@@ -787,7 +787,7 @@ public class SftpSubsystem implements Co
normalizedPath = "/";
}
buffer.putString(normalizedPath);
- f = new File(normalizedPath);
+ f = resolveFile(normalizedPath);
if (f.getName().length() == 0) {
f = resolveFile(".");
}