# HG changeset patch # User Igor Sysoev # Date 1190885969 0 # Node ID 2956fb9b7dcbae0bb5f8c46962c90119fb61d6dd # Parent 2d8fab47dd89dbd507831c8d7a0b494eebd3c0e1 omit trailing zero in directory name diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -896,7 +896,7 @@ ngx_http_core_content_phase(ngx_http_req 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);