Commit eea83cd4 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

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
(cherry picked from commit 4ac6e6df)
parent fcd3fd76
...@@ -405,10 +405,6 @@ void input_item_SetURI( input_item_t *p_i, const char *psz_uri ) ...@@ -405,10 +405,6 @@ void input_item_SetURI( input_item_t *p_i, const char *psz_uri )
vlc_UrlClean( &url ); vlc_UrlClean( &url );
if( -1==r ) if( -1==r )
p_i->psz_name=NULL; /* recover from undefined value */ 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 ); vlc_mutex_unlock( &p_i->lock );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment