diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-09-27 09:39:29 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-09-27 09:39:29 +0000 |
commit | 9d2811b28bee4b7a7cd9eecf654c7766eab9dd3d (patch) | |
tree | 9de7b0d9bc354427c59909fafc6a5aa7892dc3cd /src | |
parent | 333649648c33b01b7d55e395f43718dd5610c1cb (diff) | |
download | nginx-9d2811b28bee4b7a7cd9eecf654c7766eab9dd3d.tar.gz nginx-9d2811b28bee4b7a7cd9eecf654c7766eab9dd3d.zip |
omit trailing zero in directory name
Diffstat (limited to 'src')
-rw-r--r-- | src/http/ngx_http_core_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |