Changeset ae96181ab60b60dea26ca5ebaf81294d1ebc9590

Show
Ignore:
Timestamp:
18/11/07 19:19:30 (1 year ago)
Author:
Rafaël Carré <funman@videolan.org>
git-committer:
Rafaël Carré <funman@videolan.org> 1195409970 +0000
git-parent:

[3b99d3d39fc6b722bd564e023d796cf8df8e8232]

git-author:
Rafaël Carré <funman@videolan.org> 1195409970 +0000
Message:

xspf: don't use %encoding for node title, but only convert XML special characters

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/demux/playlist/xspf.c

    r8cc57c7 rae96181  
    677677        if( !strcmp( psz_name, "title" ) ) 
    678678        { 
    679             psz_title = decode_URI_duplicate( psz_value ); 
     679            resolve_xml_special_chars( psz_value ); 
     680            psz_title = strdup( psz_value ); 
    680681        } 
    681682        /* extension attribute: application */ 
  • modules/misc/playlist/xspf.c

    r0d48e82 rae96181  
    252252        int i; 
    253253        char *psz_temp; 
    254         psz_temp = encode_URI_component( p_item->p_input->psz_name ); 
     254        psz_temp = convert_xml_special_chars( p_item->p_input->psz_name ); 
    255255        fprintf( p_file, "\t\t<node title=\"%s\">\n", 
    256256                 *psz_temp ? psz_temp : "" );