Verified Commit 04537284 authored by Andy Holmes's avatar Andy Holmes
Browse files

SftpPlugin: fix SAF implementation for gvfs/ssh

Returning NULL from readSymbolicLink() results in an exception that
closes the SFTP connection for some SSH implementations, notably the one
used by Gvfs (GSConnect).

primitive-ftpd had a similar issue, which was fixed by returning and
empty string instead of NULL.
parent 7dc02338
......@@ -88,7 +88,7 @@ class RootFile implements SshFile {
public String readSymbolicLink() {
return null;
return "";
public void createSymbolicLink(SshFile destination) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment