[vlc-devel] commit: Do not decode URI in the name. It borks some types badly. ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Jul 12 15:50:44 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jul 12 16:49:14 2009 +0300| [4ac6e6dff3c63ca78db052d4f0350c3ea599cbc8] | committer: 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

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4ac6e6dff3c63ca78db052d4f0350c3ea599cbc8
---

 src/input/item.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/input/item.c b/src/input/item.c
index ac6006d..903e537 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 );




More information about the vlc-devel mailing list