values starting with '0' were incorrectly assumed to be false
patch by Maxim Dounin
diff --git a/src/http/ngx_http_script.c b/src/http/ngx_http_script.c
index 8b861ce..7c8de14 100644
--- a/src/http/ngx_http_script.c
+++ b/src/http/ngx_http_script.c
@@ -265,7 +265,7 @@
             return NGX_ERROR;
         }
 
-        if (val.len && val.data[0] != '0') {
+        if (val.len && (val.len != 1 || val.data[0] != '0')) {
             return NGX_DECLINED;
         }
     }