]> git.kaiwu.me - nginx.git/commitdiff
allow to use $uid_got in SSI and perl module
authorIgor Sysoev <igor@sysoev.ru>
Tue, 18 May 2010 16:24:56 +0000 (16:24 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Tue, 18 May 2010 16:24:56 +0000 (16:24 +0000)
src/http/modules/ngx_http_userid_filter_module.c

index 03efd3a8af07d26bbf5cf41657981994d138986f..17f0193f1161842e19918d17eac8b5ba27fa1e32 100644 (file)
@@ -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;
     }