mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
omit trailing zero in directory name
This commit is contained in:
parent
333649648c
commit
9d2811b28b
@ -896,7 +896,7 @@ ngx_http_core_content_phase(ngx_http_request_t *r,
|
|||||||
|
|
||||||
if (ngx_http_map_uri_to_path(r, &path, &root, 0) != NULL) {
|
if (ngx_http_map_uri_to_path(r, &path, &root, 0) != NULL) {
|
||||||
ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
|
ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
|
||||||
"directory index of \"%V\" is forbidden", &path);
|
"directory index of \"%s\" is forbidden", path.data);
|
||||||
}
|
}
|
||||||
|
|
||||||
ngx_http_finalize_request(r, NGX_HTTP_FORBIDDEN);
|
ngx_http_finalize_request(r, NGX_HTTP_FORBIDDEN);
|
||||||
|
Loading…
Reference in New Issue
Block a user