From 9db33c92341ea89b6c4922d63242db21313034f8 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 20 Aug 2009 13:37:26 +0000 Subject: fix copy destination name length, introduced in r3025 --- src/http/modules/ngx_http_dav_module.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/http/modules/ngx_http_dav_module.c') diff --git a/src/http/modules/ngx_http_dav_module.c b/src/http/modules/ngx_http_dav_module.c index 753387acc..38e928c3d 100644 --- a/src/http/modules/ngx_http_dav_module.c +++ b/src/http/modules/ngx_http_dav_module.c @@ -214,6 +214,8 @@ ngx_http_dav_put_handler(ngx_http_request_t *r) ngx_http_map_uri_to_path(r, &path, &root, 0); + path.len--; + ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, "http put filename: \"%s\"", path.data); -- cgit