$-_.+!*'(), unencoded, it also allows to encode any character. It is
generally considered a good practive to urlencode $+!*'() because
some buggy browsers (read: M$) have a problem with those characters.
See the comments in http://fr.php.net/manual/en/function.rawurlencode.php
for more information.
{
return ( (unsigned char)( c - 'a' ) < 26 )
|| ( (unsigned char)( c - 'A' ) < 26 )
- || ( (unsigned char)( c - '9' ) < 10 )
- || ( strchr( "$-_.+!*'(),", c ) != NULL );
+ || ( (unsigned char)( c - '0' ) < 10 )
+ || ( strchr( "-_.", c ) != NULL );
}
/*****************************************************************************
*out++ = (char)c;
else
{
- *out++ = '%';
+ *out++ = '%';
*out++ = ( ( c >> 4 ) >= 0xA ) ? 'A' + ( c >> 4 ) - 0xA
: '0' + ( c >> 4 );
*out++ = ( ( c & 0xf ) >= 0xA ) ? 'A' + ( c & 0xf ) - 0xA
var_Get( p_input, "sub-autodetect-file", &val );
if( val.b_bool )
{
- char *psz_autopath = var_GetString( p_input, "sub-autodetect-path" );
+ char *psz_autopath = var_GetString( p_input, "sub-autodetect-path" );
char **subs = subtitles_Detect( p_input, psz_autopath,
p_input->input.p_item->psz_uri );
input_source_t *sub;