length calculation did not take into account escaped symbols in arguments
diff --git a/src/http/ngx_http_script.h b/src/http/ngx_http_script.h
index b865cdb..37c8951 100644
--- a/src/http/ngx_http_script.h
+++ b/src/http/ngx_http_script.h
@@ -27,6 +27,7 @@
unsigned flushed:1;
unsigned skip:1;
unsigned quote:1;
+ unsigned is_args:1;
unsigned log:1;
int *captures;
@@ -194,6 +195,7 @@
void ngx_http_script_copy_var_code(ngx_http_script_engine_t *e);
size_t ngx_http_script_copy_capture_len_code(ngx_http_script_engine_t *e);
void ngx_http_script_copy_capture_code(ngx_http_script_engine_t *e);
+size_t ngx_http_script_mark_args_code(ngx_http_script_engine_t *e);
void ngx_http_script_start_args_code(ngx_http_script_engine_t *e);
#if (NGX_PCRE)
void ngx_http_script_regex_start_code(ngx_http_script_engine_t *e);