mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
omit '\0' from "Location" header on MKCOL request
This commit is contained in:
parent
703f15d8a2
commit
a2951910d3
@ -490,6 +490,7 @@ ngx_http_dav_mkcol_handler(ngx_http_request_t *r, ngx_http_dav_loc_conf_t *dlcf)
|
||||
p = ngx_http_map_uri_to_path(r, &path, &root, 0);
|
||||
|
||||
*(p - 1) = '\0';
|
||||
r->uri.len--;
|
||||
|
||||
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
|
||||
"http mkcol path: \"%s\"", path.data);
|
||||
|
Loading…
Reference in New Issue
Block a user