mirror of https://github.com/pypa/pip
Decode Link().path before using it
This commit is contained in:
parent
a0b151cbb3
commit
11824349d4
|
@ -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('/')))
|
||||
|
|
Loading…
Reference in New Issue