Mercurial > hg > nginx
comparison src/http/modules/ngx_http_dav_module.c @ 3182:6ddaac3e0bf7
omit '\0' from "Location" header on MKCOL request
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 06 Oct 2009 09:32:21 +0000 |
parents | d430c6ab1c99 |
children | 423ff11e3018 |
comparison
equal
deleted
inserted
replaced
3181:36f6407817dc | 3182:6ddaac3e0bf7 |
---|---|
488 } | 488 } |
489 | 489 |
490 p = ngx_http_map_uri_to_path(r, &path, &root, 0); | 490 p = ngx_http_map_uri_to_path(r, &path, &root, 0); |
491 | 491 |
492 *(p - 1) = '\0'; | 492 *(p - 1) = '\0'; |
493 r->uri.len--; | |
493 | 494 |
494 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, | 495 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, |
495 "http mkcol path: \"%s\"", path.data); | 496 "http mkcol path: \"%s\"", path.data); |
496 | 497 |
497 if (ngx_create_dir(path.data, ngx_dir_access(dlcf->access)) | 498 if (ngx_create_dir(path.data, ngx_dir_access(dlcf->access)) |