Commit da8a2f93 authored by dionoea's avatar dionoea

Allow the '-' character in an access' name (fixes parsing of input...

Allow the '-' character in an access' name (fixes parsing of input "http/shout-winamp://www.shoutcast.com/sbin/newxml.phtml").
parent 0aa0fe72
......@@ -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++;
}
......
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