diff options
author | Igor Sysoev <igor@sysoev.ru> | 2008-10-21 12:33:23 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2008-10-21 12:33:23 +0000 |
commit | 0c689b7498591163dc55db3bffb8ed2664ae1452 (patch) | |
tree | 980c1fd6aa05824fc4fcd3b4427136d14050f8ed /src/http/modules/ngx_http_secure_link_module.c | |
parent | 6645e76e38cc9e4a0aad2d8e1a1d5ce66b9fca91 (diff) | |
download | nginx-0c689b7498591163dc55db3bffb8ed2664ae1452.tar.gz nginx-0c689b7498591163dc55db3bffb8ed2664ae1452.zip |
allow short secure links
Diffstat (limited to 'src/http/modules/ngx_http_secure_link_module.c')
-rw-r--r-- | src/http/modules/ngx_http_secure_link_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |