mirror of
https://github.com/transmission/transmission
synced 2024-12-23 00:04:06 +00:00
#1007: check_auth space delimiter bug
This commit is contained in:
parent
9207316488
commit
0fced3a431
2 changed files with 2 additions and 2 deletions
|
@ -308,7 +308,7 @@ cidrize( const char * acl )
|
||||||
FOR_EACH_WORD_IN_LIST( walk, len )
|
FOR_EACH_WORD_IN_LIST( walk, len )
|
||||||
{
|
{
|
||||||
cidrizeOne( walk, len, out );
|
cidrizeOne( walk, len, out );
|
||||||
evbuffer_add_printf( out, ", " );
|
evbuffer_add_printf( out, "," );
|
||||||
}
|
}
|
||||||
|
|
||||||
/* the -2 is to eat the final ", " */
|
/* the -2 is to eat the final ", " */
|
||||||
|
|
2
third-party/shttpd/config.h
vendored
2
third-party/shttpd/config.h
vendored
|
@ -21,7 +21,7 @@
|
||||||
#define CGI_EXT "cgi,pl,php" /* Default CGI extensions */
|
#define CGI_EXT "cgi,pl,php" /* Default CGI extensions */
|
||||||
#define SSI_EXT "shtml,shtm" /* Default SSI extensions */
|
#define SSI_EXT "shtml,shtm" /* Default SSI extensions */
|
||||||
#define REALM "mydomain.com" /* Default authentication realm */
|
#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 EXPIRE_TIME 3600 /* Expiration time, seconds */
|
||||||
#define ENV_MAX 4096 /* Size of environment block */
|
#define ENV_MAX 4096 /* Size of environment block */
|
||||||
#define CGI_ENV_VARS 64 /* Maximum vars passed to CGI */
|
#define CGI_ENV_VARS 64 /* Maximum vars passed to CGI */
|
||||||
|
|
Loading…
Reference in a new issue