Mercurial > hg > nginx
comparison src/http/modules/ngx_http_gzip_static_module.c @ 3598:8152369f7037 stable-0.7
merge r3528:
remove r->zero_in_uri
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 07 Jun 2010 12:27:06 +0000 |
parents | 8944c3e318ab |
children |
comparison
equal
deleted
inserted
replaced
3597:0d8b8c84bab7 | 3598:8152369f7037 |
---|---|
87 | 87 |
88 if (r->uri.data[r->uri.len - 1] == '/') { | 88 if (r->uri.data[r->uri.len - 1] == '/') { |
89 return NGX_DECLINED; | 89 return NGX_DECLINED; |
90 } | 90 } |
91 | 91 |
92 if (r->zero_in_uri) { | |
93 return NGX_DECLINED; | |
94 } | |
95 | |
96 gzcf = ngx_http_get_module_loc_conf(r, ngx_http_gzip_static_module); | 92 gzcf = ngx_http_get_module_loc_conf(r, ngx_http_gzip_static_module); |
97 | 93 |
98 if (!gzcf->enable) { | 94 if (!gzcf->enable) { |
99 return NGX_DECLINED; | 95 return NGX_DECLINED; |
100 } | 96 } |