diff options
author | Igor Sysoev <igor@sysoev.ru> | 2006-01-16 14:56:53 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2006-01-16 14:56:53 +0000 |
commit | 9bf11aa19366f45bcd10a0917034acb45f89b259 (patch) | |
tree | c7231ce937ab196c89608185e59ab544224e4da8 /src/http/modules/ngx_http_referer_module.c | |
parent | 243edbb727c49ac25355e109a097f1ca2d9e1e44 (diff) | |
download | nginx-9bf11aa19366f45bcd10a0917034acb45f89b259.tar.gz nginx-9bf11aa19366f45bcd10a0917034acb45f89b259.zip |
nginx-0.3.21-RELEASE importrelease-0.3.21
*) Feature: the ngx_http_perl_module.
*) Change: the "valid_referers" directive allows the referreres without
URI part.
Diffstat (limited to 'src/http/modules/ngx_http_referer_module.c')
-rw-r--r-- | src/http/modules/ngx_http_referer_module.c | 4 |
1 files changed, 0 insertions, 4 deletions
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; } |