changeset 3522:d24f030507cd

allow to use $uid_got in SSI and perl module
author Igor Sysoev <igor@sysoev.ru>
date Tue, 18 May 2010 16:24:56 +0000
parents 0451b4e40cdb
children 66a244ee8cf7
files src/http/modules/ngx_http_userid_filter_module.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/modules/ngx_http_userid_filter_module.c	Tue May 18 16:20:02 2010 +0000
+++ b/src/http/modules/ngx_http_userid_filter_module.c	Tue May 18 16:24:56 2010 +0000
@@ -543,7 +543,7 @@
 {
     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;
     }