From: Ilkka Ollakka Date: Tue, 30 Dec 2008 10:24:54 +0000 (+0200) Subject: encode \ in xspf location uri also (rfc 3986 has set of characters X-Git-Tag: 1.0.0-pre1~1638 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=06147c8297af7637289690e915cae81ae963fe1f;hp=f5d47205129eadf13000f2e16ac8008dafdfc23d;p=vlc 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 --- diff --git a/modules/misc/playlist/xspf.c b/modules/misc/playlist/xspf.c index a40ba3a4e7..9bdfa43719 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 == '"' ||