From: RĂ©mi Denis-Courmont Date: Sun, 12 Jul 2009 13:49:14 +0000 (+0300) Subject: Do not decode URI in the name. It borks some types badly. X-Git-Tag: 1.1.0-ff~5013 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=4ac6e6dff3c63ca78db052d4f0350c3ea599cbc8;p=vlc Do not decode URI in the name. It borks some types badly. Some URI types do not need URI-encoding, yet use the percent sign. E.g. http://forum.videolan.org/viewtopic.php?f=13&t=61946 --- diff --git a/src/input/item.c b/src/input/item.c index ac6006dfa6..903e537b3f 100644 --- a/src/input/item.c +++ b/src/input/item.c @@ -408,10 +408,6 @@ void input_item_SetURI( input_item_t *p_i, const char *psz_uri ) vlc_UrlClean( &url ); if( -1==r ) p_i->psz_name=NULL; /* recover from undefined value */ - - /* Make the name more readable */ - if( p_i->psz_name ) - decode_URI( p_i->psz_name ); } vlc_mutex_unlock( &p_i->lock );