[#504] Fix ALLOWED_METHODS regex

This commit is contained in:
Théophile Diot 2023-05-26 10:46:27 -04:00
parent 168dfc4390
commit 665b110c63
No known key found for this signature in database
GPG Key ID: E752C80DB72BB014
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@
"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|COPY|LOCK|MKCOL|MOVE|PROPFIND|PROPPATCH|UNLOCK)(?!.*\\2))+$",
"regex": "^(?!\\|)(\\|?(GET|HEAD|POST|PUT|DELETE|CONNECT|OPTIONS|TRACE|PATCH|COPY|LOCK|MKCOL|MOVE|PROPFIND|PROPPATCH|UNLOCK)(?!.*(^|\\|)\\2))+$",
"type": "text"
},
"MAX_CLIENT_SIZE": {