Mercurial > hg > nginx-ranges
diff src/http/modules/ngx_http_auth_basic_module.c @ 471:dcb6b5f9d526 NGINX_0_7_43
nginx 0.7.43
*) Bugfix: a request was handled incorrectly, if a "root" directive
used variables; the bug had appeared in 0.7.42.
*) Bugfix: if a server listened on wildcard address, then the
$server_addr variable value was "0.0.0.0"; the bug had appeared in
0.7.36.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 18 Mar 2009 00:00:00 +0300 |
parents | bb941a2996a6 |
children | c8cfb6c462ef |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_auth_basic_module.c +++ b/src/http/modules/ngx_http_auth_basic_module.c @@ -470,11 +470,8 @@ ngx_http_auth_basic_user_file(ngx_conf_t ngx_str_t *value; ngx_uint_t n; - ngx_http_core_loc_conf_t *clcf; ngx_http_script_compile_t sc; - clcf = ngx_http_conf_get_module_loc_conf(cf, ngx_http_core_module); - if (alcf->user_file.data) { return "is duplicate"; }