From: Igor Sysoev Date: Tue, 21 Oct 2008 12:33:23 +0000 (+0000) Subject: allow short secure links X-Git-Tag: release-0.7.20~17 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=0c689b7498591163dc55db3bffb8ed2664ae1452;p=nginx.git allow short secure links --- diff --git a/src/http/modules/ngx_http_secure_link_module.c b/src/http/modules/ngx_http_secure_link_module.c index 0b2a4451a..049a45c3e 100644 --- a/src/http/modules/ngx_http_secure_link_module.c +++ b/src/http/modules/ngx_http_secure_link_module.c @@ -113,7 +113,7 @@ url_start: len = last - p; - if (end - start != 32 || len < 3) { + if (end - start != 32 || len == 0) { goto not_found; }