]> git.sesse.net Git - vlc/commitdiff
Do not decode URI in the name. It borks some types badly.
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 12 Jul 2009 13:49:14 +0000 (16:49 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 12 Jul 2009 13:49:14 +0000 (16:49 +0300)
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

src/input/item.c

index ac6006dfa6d69692e082a7bc95107122039e30ed..903e537b3fc18504b5b1f1766dbbd6c8fd07b3cf 100644 (file)
@@ -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 );