mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-12 20:15:46 +00:00
Merge pull request #23140 from is-a-dev/wdhdev-patch-1
block `proxy` field, use `proxied` instead
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -28,7 +28,7 @@ const optionalRedirectConfigFields = {
|
||||
redirect_paths: "boolean"
|
||||
};
|
||||
|
||||
const blockedFields = ["domain", "internal", "reserved", "subdomain"];
|
||||
const blockedFields = ["domain", "internal", "proxy", "reserved", "subdomain"];
|
||||
|
||||
const emailRegex = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/;
|
||||
const hostnameRegex = /^(?=.{1,253}$)(?:(?:[_a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)\.)+[a-zA-Z]{2,63}$/;
|
||||
|
||||
Reference in new issue
Block a user