From da8a2f930c9931a7da17176f4a2c82bbd93416c0 Mon Sep 17 00:00:00 2001 From: Antoine Cellerier Date: Fri, 17 Aug 2007 20:51:02 +0000 Subject: [PATCH] Allow the '-' character in an access' name (fixes parsing of input "http/shout-winamp://www.shoutcast.com/sbin/newxml.phtml"). --- src/input/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/input.c b/src/input/input.c index 0b990c8e7f..2a8a53746d 100644 --- a/src/input/input.c +++ b/src/input/input.c @@ -2582,7 +2582,7 @@ static inline vlc_bool_t IsValidAccess( const char *psz ) if( c == ':' ) return VLC_TRUE; - if( ( !isascii( c ) || !isalnum( c ) ) && ( c != '/' ) ) + if( ( !isascii( c ) || !isalnum( c ) ) && c != '-' && ( c != '/' ) ) return VLC_FALSE; psz++; } -- 2.39.2