From e4bc4a2940a0d39e1b07dd9e0f30b39dfd973e18 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 11 Jan 2010 11:21:46 +0000 Subject: [PATCH] named captures worked for two names only --- src/http/ngx_http_variables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http/ngx_http_variables.c b/src/http/ngx_http_variables.c index 0231d6727..150c4e2be 100644 --- a/src/http/ngx_http_variables.c +++ b/src/http/ngx_http_variables.c @@ -1743,7 +1743,7 @@ ngx_http_regex_compile(ngx_conf_t *cf, ngx_regex_compile_t *rc) v->get_handler = ngx_http_variable_not_found; - p += i + size; + p += size; } return re;