Fix errors regex, authorize same path for multiple errors
This commit is contained in:
parent
89812362a1
commit
be0df41609
|
@ -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": {
|
||||
|
|
Loading…
Reference in New Issue