From 9bf11aa19366f45bcd10a0917034acb45f89b259 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 16 Jan 2006 14:56:53 +0000 Subject: nginx-0.3.21-RELEASE import *) Feature: the ngx_http_perl_module. *) Change: the "valid_referers" directive allows the referreres without URI part. --- src/http/modules/ngx_http_referer_module.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/http/modules/ngx_http_referer_module.c') diff --git a/src/http/modules/ngx_http_referer_module.c b/src/http/modules/ngx_http_referer_module.c index d5bb8aa2c..0d3ee6f7a 100644 --- a/src/http/modules/ngx_http_referer_module.c +++ b/src/http/modules/ngx_http_referer_module.c @@ -168,10 +168,6 @@ uri: len = last - p; - if (len == 0) { - goto invalid; - } - if (uri == NGX_HTTP_REFERER_NO_URI_PART) { goto valid; } -- cgit