Update json.test.js

This commit is contained in:
William Harrison authored and GitHub committed 2026-08-13 12:19:04 +08:00
1 parent 6162e6965b
commit d18177b2a3
1 file changed
+1 -1
+1 -1
View File
@@ -30,7 +30,7 @@ const optionalRedirectConfigFields = {
redirect_paths: "boolean"
};
const blockedFields = ["domain", "internal", "proxy", "reserved", "services", "subdomain", "nested", "record"];
const blockedFields = ["domain", "internal", "proxy", "reserved", "services", "subdomain", "subdomains", "nested", "record"];
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}$/;