r1547 merge:

omit trailing zero in directory name
This commit is contained in:
Igor Sysoev 2007-10-29 15:08:01 +00:00
parent 7ad9f14c74
commit 92f28e3d31
1 changed files with 1 additions and 1 deletions

View File

@ -877,7 +877,7 @@ ngx_http_core_content_phase(ngx_http_request_t *r,
if (ngx_http_map_uri_to_path(r, &path, &root, 0) != NULL) {
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);