changeset 3499:b4a14d50388b

make $arg_ variables non-cacheable
author Igor Sysoev <igor@sysoev.ru>
date Thu, 22 Apr 2010 13:35:30 +0000
parents 9f20a6e758c3
children 0eb46e3c5c02
files src/http/ngx_http_variables.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/ngx_http_variables.c
+++ b/src/http/ngx_http_variables.c
@@ -1937,6 +1937,7 @@ ngx_http_variables_init_vars(ngx_conf_t 
         if (ngx_strncmp(v[i].name.data, "arg_", 4) == 0) {
             v[i].get_handler = ngx_http_variable_argument;
             v[i].data = (uintptr_t) &v[i].name;
+            v[i].flags = NGX_HTTP_VAR_NOCACHEABLE;
 
             continue;
         }