mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 09:39:08 +01:00
#1007: check_auth space delimiter bug
This commit is contained in:
@@ -308,7 +308,7 @@ cidrize( const char * acl )
|
||||
FOR_EACH_WORD_IN_LIST( walk, len )
|
||||
{
|
||||
cidrizeOne( walk, len, out );
|
||||
evbuffer_add_printf( out, ", " );
|
||||
evbuffer_add_printf( out, "," );
|
||||
}
|
||||
|
||||
/* the -2 is to eat the final ", " */
|
||||
|
||||
Vendored
+1
-1
@@ -21,7 +21,7 @@
|
||||
#define CGI_EXT "cgi,pl,php" /* Default CGI extensions */
|
||||
#define SSI_EXT "shtml,shtm" /* Default SSI extensions */
|
||||
#define REALM "mydomain.com" /* Default authentication realm */
|
||||
#define DELIM_CHARS " ," /* Separators for lists */
|
||||
#define DELIM_CHARS "," /* Separators for lists */
|
||||
#define EXPIRE_TIME 3600 /* Expiration time, seconds */
|
||||
#define ENV_MAX 4096 /* Size of environment block */
|
||||
#define CGI_ENV_VARS 64 /* Maximum vars passed to CGI */
|
||||
|
||||
Reference in New Issue
Block a user