fix directory test in try_files
Igor Sysoev
13 years ago
1 changed file(s) with
1 addition(s)
and
0 deletion(s)
.
Raw diff
Collapse all
Expand all
+1
-0
src/http/ngx_http_core_module.c
less
more
3955
3955
if (tf[i].name.data[tf[i].name.len - 1] == '/') {
3956
3956
tf[i].test_dir = 1;
3957
3957
tf[i].name.len--;
3958
tf[i].name.data[tf[i].name.len] = '\0';
3958
3959
}
3959
3960
3960
3961
n = ngx_http_script_variables_count(&tf[i].name);