Decode Link().path before using it

This commit is contained in:
Donald Stufft 2015-02-02 18:06:43 -05:00
parent a0b151cbb3
commit 11824349d4
1 changed files with 1 additions and 1 deletions

View File

@ -1114,7 +1114,7 @@ class Link(object):
@property
def path(self):
return urllib_parse.urlsplit(self.url)[2]
return urllib_parse.unquote(urllib_parse.urlsplit(self.url)[2])
def splitext(self):
return splitext(posixpath.basename(self.path.rstrip('/')))