[vlc-devel] commit: encode \ in xspf location uri also (rfc 3986 has set of characters (Ilkka Ollakka )

git version control git at videolan.org
Tue Dec 30 12:22:40 CET 2008


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Tue Dec 30 12:24:54 2008 +0200| [06147c8297af7637289690e915cae81ae963fe1f] | committer: Ilkka Ollakka 

encode \ in xspf location uri also (rfc 3986 has set of characters
that can be in url without encoding, \ doesnt seem to be one of them)

relates to ticket #2218

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=06147c8297af7637289690e915cae81ae963fe1f
---

 modules/misc/playlist/xspf.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/misc/playlist/xspf.c b/modules/misc/playlist/xspf.c
index a40ba3a..9bdfa43 100644
--- a/modules/misc/playlist/xspf.c
+++ b/modules/misc/playlist/xspf.c
@@ -346,6 +346,7 @@ static char *assertUTF8URI( char *psz_name )
             *psz_s == ' ' ||
             *psz_s == '+' ||
             *psz_s == '%' ||
+            *psz_s == '\\' ||
             ( b_uri_is_file && (
             *psz_s == ':' ||
             *psz_s == '"' ||




More information about the vlc-devel mailing list