mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-05 09:59:24 +00:00
Fix an filename encoding issue with "tahoe cp"
This commit is contained in:
parent
0d5cc38a35
commit
c1f639d230
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user