Fix Now support WebDAV methods in the ALLOWED_METHODS setting's regex
This commit is contained in:
parent
e50c92250b
commit
283828e8f7
|
@ -35,10 +35,10 @@
|
|||
"ALLOWED_METHODS": {
|
||||
"context": "multisite",
|
||||
"default": "GET|POST|HEAD",
|
||||
"help": "Allowed HTTP methods, separated with pipes to be sent by clients.",
|
||||
"help": "Allowed HTTP and WebDAV methods, separated with pipes to be sent by clients.",
|
||||
"id": "allowed-methods",
|
||||
"label": "Allowed methods",
|
||||
"regex": "^(?!\\|)(\\|?(GET|HEAD|POST|PUT|DELETE|CONNECT|OPTIONS|TRACE|PATCH)(?!.*\\2))+$",
|
||||
"regex": "^(?!\\|)(\\|?(GET|HEAD|POST|PUT|DELETE|CONNECT|OPTIONS|TRACE|PATCH|COPY|LOCK|MKCOL|MOVE|PROPFIND|PROPPATCH|UNLOCK)(?!.*\\2))+$",
|
||||
"type": "text"
|
||||
},
|
||||
"MAX_CLIENT_SIZE": {
|
||||
|
|
Loading…
Reference in New Issue