diff src/http/modules/ngx_http_secure_link_module.c @ 2279:bbb17a60ec44

allow short secure links
author Igor Sysoev <igor@sysoev.ru>
date Tue, 21 Oct 2008 12:33:23 +0000
parents 4f1616b32744
children c7d57b539248
line wrap: on
line diff
--- 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;
     }