From 6e95d33eb004917054fe650336883eceda6b3cd2 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 27 Sep 2007 09:39:29 +0000 Subject: [PATCH] omit trailing zero in directory name --- src/http/ngx_http_core_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index f93c6a28c..a99fbca83 100644 --- 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_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);