mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-29 09:27:52 +01:00
Loose validation on certificate domain names
This commit is contained in:
1 parent
84886383a7
commit
7330d0441c
2 files changed
+3
-13
No files matched your search
@@ -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",
|
||||||
|
|||||||
Reference in new issue
Block a user