mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
validate:launcher: unquote the path to remove special characters
When getting path from url using, url2path, it is returning special characters (%20 for space etc..), instead of returning plain path. path.unquote replaces the same.. https://bugzilla.gnome.org/show_bug.cgi?id=752611
This commit is contained in:
parent
e4906c7289
commit
074406bc2c
1 changed files with 1 additions and 0 deletions
|
@ -148,6 +148,7 @@ def url2path(url):
|
|||
if "win32" in sys.platform:
|
||||
if path[0] == '/':
|
||||
return path[1:] # We need to remove the first '/' on windows
|
||||
path = urllib.unquote(path)
|
||||
return path
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue