diff options
author | Igor Sysoev <igor@sysoev.ru> | 2010-04-22 13:35:30 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2010-04-22 13:35:30 +0000 |
commit | 185a5d172671b4b4346d801e144e055f3962d55d (patch) | |
tree | 3578fe4735bb60ca1369a4dcfd0570ca0d16ce25 /src/http/ngx_http_variables.c | |
parent | e003988f87e4a144dce30a72999488364f0ed711 (diff) | |
download | nginx-185a5d172671b4b4346d801e144e055f3962d55d.tar.gz nginx-185a5d172671b4b4346d801e144e055f3962d55d.zip |
make $arg_ variables non-cacheable
Diffstat (limited to 'src/http/ngx_http_variables.c')
-rw-r--r-- | src/http/ngx_http_variables.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_variables.c b/src/http/ngx_http_variables.c index f3fc9f683..eee997b19 100644 --- 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 *cf) 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; } |