comparison src/http/modules/ngx_http_auth_basic_module.c @ 462: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
comparison
equal deleted inserted replaced
461:47877bb9e445 462:dcb6b5f9d526
468 { 468 {
469 ngx_http_auth_basic_loc_conf_t *alcf = conf; 469 ngx_http_auth_basic_loc_conf_t *alcf = conf;
470 470
471 ngx_str_t *value; 471 ngx_str_t *value;
472 ngx_uint_t n; 472 ngx_uint_t n;
473 ngx_http_core_loc_conf_t *clcf;
474 ngx_http_script_compile_t sc; 473 ngx_http_script_compile_t sc;
475
476 clcf = ngx_http_conf_get_module_loc_conf(cf, ngx_http_core_module);
477 474
478 if (alcf->user_file.data) { 475 if (alcf->user_file.data) {
479 return "is duplicate"; 476 return "is duplicate";
480 } 477 }
481 478