]> git.sesse.net Git - vlc/commitdiff
encode \ in xspf location uri also (rfc 3986 has set of characters
authorIlkka Ollakka <ileoo@videolan.org>
Tue, 30 Dec 2008 10:24:54 +0000 (12:24 +0200)
committerIlkka Ollakka <ileoo@videolan.org>
Tue, 30 Dec 2008 11:20:45 +0000 (13:20 +0200)
that can be in url without encoding, \ doesnt seem to be one of them)

relates to ticket #2218

modules/misc/playlist/xspf.c

index a40ba3a4e7b6096b8229288de05282f9a668de04..9bdfa43719c5c78dcc1ea01b0bb3160ef9c7cadf 100644 (file)
@@ -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 == '"' ||