mirror of
https://github.com/nginx/nginx.git
synced 2026-08-04 06:53:10 +00:00
the PUTing to collection must return NGX_HTTP_BAD_REQUEST
This commit is contained in:
parent
56331ba499
commit
e95ea5b878
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ ngx_http_dav_handler(ngx_http_request_t *r)
|
|||
case NGX_HTTP_PUT:
|
||||
|
||||
if (r->uri.data[r->uri.len - 1] == '/') {
|
||||
return NGX_DECLINED;
|
||||
return NGX_HTTP_BAD_REQUEST;
|
||||
}
|
||||
|
||||
r->request_body_in_file_only = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue