Loose validation on certificate domain names

This commit is contained in:
Jamie Curnow
2026-05-18 15:34:29 +10:00
parent 84886383a7
commit 7330d0441c
2 changed files with 3 additions and 13 deletions
+2 -4
View File
@@ -77,14 +77,12 @@
"example": 3
},
"domain_names": {
"description": "Domain Names separated by a comma",
"description": "Domain Names array",
"type": "array",
"minItems": 1,
"maxItems": 100,
"uniqueItems": true,
"items": {
"type": "string",
"pattern": "^[^&| @!#%^();:/\\\\}{=+?<>,~`'\"]+$"
"minLength": 1
},
"example": ["example.com", "www.example.com"]
},
@@ -25,15 +25,7 @@
"example": "My Custom Cert"
},
"domain_names": {
"description": "Domain Names separated by a comma",
"type": "array",
"maxItems": 100,
"uniqueItems": true,
"items": {
"type": "string",
"pattern": "^[^&| @!#%^();:/\\\\}{=+?<>,~`'\"]+$"
},
"example": ["example.com", "www.example.com"]
"$ref": "../common.json#/properties/domain_names"
},
"expires_on": {
"description": "Date and time of expiration",