Loose validation on certificate domain names

This commit is contained in:
Jamie Curnow committed 2026-05-18 15:34:29 +10:00
1 parent 84886383a7
commit 7330d0441c
2 files changed
+3 -13

No files matched your search

+2 -4
View File
@@ -77,14 +77,12 @@
"example": 3 "example": 3
}, },
"domain_names": { "domain_names": {
"description": "Domain Names separated by a comma", "description": "Domain Names array",
"type": "array", "type": "array",
"minItems": 1,
"maxItems": 100,
"uniqueItems": true, "uniqueItems": true,
"items": { "items": {
"type": "string", "type": "string",
"pattern": "^[^&| @!#%^();:/\\\\}{=+?<>,~`'\"]+$" "minLength": 1
}, },
"example": ["example.com", "www.example.com"] "example": ["example.com", "www.example.com"]
}, },
@@ -25,15 +25,7 @@
"example": "My Custom Cert" "example": "My Custom Cert"
}, },
"domain_names": { "domain_names": {
"description": "Domain Names separated by a comma", "$ref": "../common.json#/properties/domain_names"
"type": "array",
"maxItems": 100,
"uniqueItems": true,
"items": {
"type": "string",
"pattern": "^[^&| @!#%^();:/\\\\}{=+?<>,~`'\"]+$"
},
"example": ["example.com", "www.example.com"]
}, },
"expires_on": { "expires_on": {
"description": "Date and time of expiration", "description": "Date and time of expiration",