Fix an filename encoding issue with "tahoe cp"

This commit is contained in:
francois 2008-11-11 14:08:03 -07:00
parent 0d5cc38a35
commit c1f639d230

View File

@ -340,7 +340,7 @@ class TahoeDirectoryTarget:
if self.writecap:
url = self.nodeurl + "/".join(["uri",
urllib.quote(self.writecap),
urllib.quote(name)])
urllib.quote(name.encode('utf-8'))])
self.children[name] = TahoeFileTarget(self.nodeurl, mutable,
writecap, readcap, url)
else: