From: Antoine Cellerier Date: Fri, 5 Mar 2010 18:37:03 +0000 (+0100) Subject: Fix quoted values containing # in VLM shell. X-Git-Tag: 1.1.0-pre1~495 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=6ff5a488a41ed665a285276dde65e28d751aa4e7;p=vlc Fix quoted values containing # in VLM shell. (close #3154, thanks to Marnik Vander Elst) --- diff --git a/src/input/vlmshell.c b/src/input/vlmshell.c index 27c97e08e9..6025304252 100644 --- a/src/input/vlmshell.c +++ b/src/input/vlmshell.c @@ -134,7 +134,7 @@ static int Unescape( char *out, const char *in ) // Don't escape the end of the string if we find a '#' // that's the begining of a vlc command // TODO: find a better solution - if( c == '#' || param ) + if( ( c == '#' && !quote ) || param ) { param = true; *out++ = c;