From 0b5f9ff5c3903ac6d5f8a2ad3eb0d4ded3b7ccee Mon Sep 17 00:00:00 2001 From: nejucomo Date: Sat, 12 Jan 2008 21:41:07 -0700 Subject: [PATCH] Support url-encoding in caps. --- contrib/fuse/tahoe_fuse.py | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/fuse/tahoe_fuse.py b/contrib/fuse/tahoe_fuse.py index dfe4834fa..5cab8f59e 100644 --- a/contrib/fuse/tahoe_fuse.py +++ b/contrib/fuse/tahoe_fuse.py @@ -429,6 +429,7 @@ class TahoeDir (TahoeNode): def canonicalize_cap(cap): + cap = urllib.unquote(cap) i = cap.find('URI:') assert i != -1, 'A cap must contain "URI:...", but this does not: ' + cap return cap[i:]