Latest update - 7321

This commit is contained in:
2018-07-19 08:50:54 +09:00
parent 45b383275a
commit 4e6347870c
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -1857,7 +1857,7 @@ ngx_http_scgi_pass(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
return NGX_CONF_ERROR;
}
if (clcf->name.data[clcf->name.len - 1] == '/') {
if (clcf->name.len && clcf->name.data[clcf->name.len - 1] == '/') {
clcf->auto_redirect = 1;
}