Sun Feb 7 01:28:02 GMT Standard Time 2010 david-sarah@jacaranda.org * Corrected potential fix for sftpd path handling (ticket #645) diff -rN -u old-tahoe/src/allmydata/frontends/sftpd.py new-tahoe/src/allmydata/frontends/sftpd.py --- old-tahoe/src/allmydata/frontends/sftpd.py 2010-02-07 01:32:00.579000000 +0000 +++ new-tahoe/src/allmydata/frontends/sftpd.py 2010-02-07 01:32:03.936000000 +0000 @@ -292,14 +292,14 @@ return d def _convert_sftp_path(self, pathstring): - assert pathstring[0] == "/" + print "CONVERT", pathstring pathstring = pathstring.strip("/") - if pathstring == "": + if pathstring == "" or pathstring == ".": path = [] else: path = pathstring.split("/") - print "CONVERT", pathstring, path path = [unicode(p) for p in path] + print " PATH", path return path def _get_node_and_metadata_for_path(self, path):