Fix errors regex, authorize same path for multiple errors

This commit is contained in:
Théophile Diot 2023-03-17 11:10:25 +01:00
parent 89812362a1
commit be0df41609
No known key found for this signature in database
GPG Key ID: E752C80DB72BB014
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
"help": "List of HTTP error code and corresponding error pages, separated with spaces (404=/my404.html 403=/errors/403.html ...).",
"id": "errors",
"label": "Errors",
"regex": "^(?! )( ?([1-5]\\d{2})(?!.*\\2(?![^=]))=(/[\\w\\].~:/?#[@!$&'()*+,;=-]*)(?!.*\\3(?!.)))*$",
"regex": "^(?! )( ?([1-5]\\d{2}(?!.*\\2(?![^=])))=/[\\w\\].~:/?#[@!$&'()*+,;=-]*)*$",
"type": "text"
},
"INTERCEPTED_ERROR_CODES": {