aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2010-05-18 16:24:56 +0000
committerIgor Sysoev <igor@sysoev.ru>2010-05-18 16:24:56 +0000
commitec94491f0cf8dd09dfa6b4b546ee72c4d7affc05 (patch)
tree84fe3333d39dd7220924220be59c77b299bfbf00 /src
parent58e1f27d2b718b32ba04586cd52c4d4b9f9e3deb (diff)
downloadnginx-ec94491f0cf8dd09dfa6b4b546ee72c4d7affc05.tar.gz
nginx-ec94491f0cf8dd09dfa6b4b546ee72c4d7affc05.zip
allow to use $uid_got in SSI and perl module
Diffstat (limited to 'src')
-rw-r--r--src/http/modules/ngx_http_userid_filter_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_userid_filter_module.c b/src/http/modules/ngx_http_userid_filter_module.c
index 03efd3a8a..17f0193f1 100644
--- a/src/http/modules/ngx_http_userid_filter_module.c
+++ b/src/http/modules/ngx_http_userid_filter_module.c
@@ -543,7 +543,7 @@ ngx_http_userid_add_variables(ngx_conf_t *cf)
{
ngx_http_variable_t *var;
- var = ngx_http_add_variable(cf, &ngx_http_userid_got, NGX_HTTP_VAR_NOHASH);
+ var = ngx_http_add_variable(cf, &ngx_http_userid_got, 0);
if (var == NULL) {
return NGX_ERROR;
}