Revert "Fix errors regex, authorize same path for multiple errors"

This reverts commit be0df41609.
This commit is contained in:
Théophile Diot 2023-03-17 11:16:00 +01:00
parent be0df41609
commit 5845446b9f
No known key found for this signature in database
GPG key ID: E752C80DB72BB014

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\\].~:/?#[@!$&'()*+,;=-]*)*$",
"regex": "^(?! )( ?([1-5]\\d{2})(?!.*\\2(?![^=]))=(/[\\w\\].~:/?#[@!$&'()*+,;=-]*)(?!.*\\3(?!.)))*$",
"type": "text"
},
"INTERCEPTED_ERROR_CODES": {