diff src/http/modules/ngx_http_userid_filter_module.c @ 52:0d75d65c642f NGINX_0_1_26

nginx 0.1.26 *) Change: the invalid client header lines are now ignored and logged at the info level. *) Change: the server name is also logged in error log. *) Feature: the ngx_http_auth_basic_module module and the auth_basic and auth_basic_user_file directives.
author Igor Sysoev <http://sysoev.ru>
date Tue, 22 Mar 2005 00:00:00 +0300
parents 72eb30262aac
children b55cbf18157e
line wrap: on
line diff
--- a/src/http/modules/ngx_http_userid_filter_module.c
+++ b/src/http/modules/ngx_http_userid_filter_module.c
@@ -605,7 +605,7 @@ ngx_http_userid_domain(ngx_conf_t *cf, v
 
     u_char  *p, *new;
 
-    if (domain->len == 4 && ngx_strcmp(domain->data, "none") == 0) {
+    if (ngx_strcmp(domain->data, "none") == 0) {
         domain->len = 0;
         domain->data = (u_char *) "";
 
@@ -690,7 +690,7 @@ ngx_http_userid_p3p(ngx_conf_t *cf, void
 {
     ngx_str_t  *p3p = data;
 
-    if (p3p->len == 4 && ngx_strcmp(p3p->data, "none") == 0) {
+    if (ngx_strcmp(p3p->data, "none") == 0) {
         p3p->len = 0;
         p3p->data = (u_char *) "";
     }