[vlc-devel] commit: don't save xspf-playlist location, as it's not needed by vlc, and as mentioned (Ilkka Ollakka )

git version control git at videolan.org
Sun Dec 21 15:58:41 CET 2008


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Sun Dec 21 16:57:05 2008 +0200| [132b1af1365a5a96d2de66e4de00510646b84c43] | committer: Ilkka Ollakka 

don't save xspf-playlist location, as it's not needed by vlc, and as mentioned
by xspf errata, can cause to expose your porn location. Should fix
ticket #2217

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

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

diff --git a/modules/misc/playlist/xspf.c b/modules/misc/playlist/xspf.c
index 3b8fc8b..946d141 100644
--- a/modules/misc/playlist/xspf.c
+++ b/modules/misc/playlist/xspf.c
@@ -73,14 +73,6 @@ int xspf_export_playlist( vlc_object_t *p_this )
     }
     free( psz_temp );
 
-    /* save location of the playlist node */
-    psz_temp = assertUTF8URI( p_export->psz_filename );
-    if( psz_temp && *psz_temp )
-    {
-        fprintf( p_export->p_file, "\t<location>%s</location>\n", psz_temp );
-    }
-    free( psz_temp );
-
     /* export all items in a flat format */
     fprintf( p_export->p_file, "\t<trackList>\n" );
     i_count = 0;




More information about the vlc-devel mailing list