projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4906c7
)
validate:launcher: unquote the path to remove special characters
author
Vineeth T M
<vineeth.tm@samsung.com>
Mon, 20 Jul 2015 10:35:34 +0000
(19:35 +0900)
committer
Luis de Bethencourt
<luis@debethencourt.com>
Wed, 22 Jul 2015 15:39:43 +0000
(16:39 +0100)
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
validate/launcher/utils.py
patch
|
blob
|
history
diff --git
a/validate/launcher/utils.py
b/validate/launcher/utils.py
index
6d43847
..
f7ee633
100644
(file)
--- a/
validate/launcher/utils.py
+++ b/
validate/launcher/utils.py
@@
-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