[vlc-devel] commit: encode \ in xspf location uri also (rfc 3986 has set of characters (Ilkka Ollakka )
git version control
git at videolan.org
Sun Jan 11 17:34:40 CET 2009
vlc | branch: 0.9-bugfix | Ilkka Ollakka <ileoo at videolan.org> | Tue Dec 30 12:24:54 2008 +0200| [1b3c30b302d790bffcf856e35216bdf819c4e000] | 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=1b3c30b302d790bffcf856e35216bdf819c4e000
---
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 7ec9f12..be1f699 100644
--- a/modules/misc/playlist/xspf.c
+++ b/modules/misc/playlist/xspf.c
@@ -354,6 +354,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