Mercurial > hg > nginx-quic
comparison src/http/ngx_http_core_module.c @ 2584:91e287d78d90
fix directory test in try_files
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 20 Mar 2009 16:47:23 +0000 |
parents | 67fea87a6652 |
children | d0a07e5710b5 |
comparison
equal
deleted
inserted
replaced
2583:1fb5e7e05a4e | 2584:91e287d78d90 |
---|---|
3954 tf[i].name = value[i + 1]; | 3954 tf[i].name = value[i + 1]; |
3955 | 3955 |
3956 if (tf[i].name.data[tf[i].name.len - 1] == '/') { | 3956 if (tf[i].name.data[tf[i].name.len - 1] == '/') { |
3957 tf[i].test_dir = 1; | 3957 tf[i].test_dir = 1; |
3958 tf[i].name.len--; | 3958 tf[i].name.len--; |
3959 tf[i].name.data[tf[i].name.len] = '\0'; | |
3959 } | 3960 } |
3960 | 3961 |
3961 n = ngx_http_script_variables_count(&tf[i].name); | 3962 n = ngx_http_script_variables_count(&tf[i].name); |
3962 | 3963 |
3963 if (n) { | 3964 if (n) { |