diff options
author | Igor Sysoev <igor@sysoev.ru> | 2008-02-12 18:05:32 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2008-02-12 18:05:32 +0000 |
commit | 04610ead82aee661d07534dae1836b8566a49794 (patch) | |
tree | 75bdd63f8ae9b8cb4086500714b00179fd7943c7 /src/http/ngx_http_script.h | |
parent | 2a6c4466eee1a380333777be4f24059b8352a99c (diff) | |
download | nginx-04610ead82aee661d07534dae1836b8566a49794.tar.gz nginx-04610ead82aee661d07534dae1836b8566a49794.zip |
length calculation did not take into account escaped symbols in arguments
Diffstat (limited to 'src/http/ngx_http_script.h')
-rw-r--r-- | src/http/ngx_http_script.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_script.h b/src/http/ngx_http_script.h index b865cdb76..37c8951f1 100644 --- a/src/http/ngx_http_script.h +++ b/src/http/ngx_http_script.h @@ -27,6 +27,7 @@ typedef struct { unsigned flushed:1; unsigned skip:1; unsigned quote:1; + unsigned is_args:1; unsigned log:1; int *captures; @@ -194,6 +195,7 @@ size_t ngx_http_script_copy_var_len_code(ngx_http_script_engine_t *e); 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); |