chore: Update regex in plugin.json for HTTP error codes

This commit is contained in:
Théophile Diot 2024-06-25 17:14:45 +01:00
parent a2cf08a729
commit d629f49d10
No known key found for this signature in database
GPG key ID: FA995104A0BA376A

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(?![^=]))=([^ ]*)(?!.*\\3(?!.)))*$",
"type": "text"
},
"INTERCEPTED_ERROR_CODES": {