Mercurial > hg > nginx
comparison src/http/modules/ngx_http_dav_module.c @ 3032:524ba56ba9f7
fix copy destination name length, introduced in r3025
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 20 Aug 2009 13:37:26 +0000 |
parents | 8101d9101ed8 |
children | d430c6ab1c99 |
comparison
equal
deleted
inserted
replaced
3031:98a8336c5b7c | 3032:524ba56ba9f7 |
---|---|
212 ngx_ext_rename_file_t ext; | 212 ngx_ext_rename_file_t ext; |
213 ngx_http_dav_loc_conf_t *dlcf; | 213 ngx_http_dav_loc_conf_t *dlcf; |
214 | 214 |
215 ngx_http_map_uri_to_path(r, &path, &root, 0); | 215 ngx_http_map_uri_to_path(r, &path, &root, 0); |
216 | 216 |
217 path.len--; | |
218 | |
217 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, | 219 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, |
218 "http put filename: \"%s\"", path.data); | 220 "http put filename: \"%s\"", path.data); |
219 | 221 |
220 temp = &r->request_body->temp_file->file.name; | 222 temp = &r->request_body->temp_file->file.name; |
221 | 223 |