]> git.sesse.net Git - vlc/commitdiff
don't save xspf-playlist location, as it's not needed by vlc, and as mentioned
authorIlkka Ollakka <ileoo@videolan.org>
Sun, 21 Dec 2008 14:57:05 +0000 (16:57 +0200)
committerIlkka Ollakka <ileoo@videolan.org>
Sun, 21 Dec 2008 14:58:34 +0000 (16:58 +0200)
by xspf errata, can cause to expose your porn location. Should fix
ticket #2217

modules/misc/playlist/xspf.c

index 3b8fc8b0b03cec22f50dd14cd57b7cbe05b31cb6..946d1413b6615127f740d7ac771446aa9ef5f85a 100644 (file)
@@ -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;