v2.3.12: correct typo in name of private option

This commit is contained in:
AJ ONeal 2018-08-18 02:06:49 -06:00
parent 3562b9ebfb
commit b7505cbccb
2 changed files with 2 additions and 2 deletions

View File

@ -505,7 +505,7 @@ Greenlock.create = function (gl) {
var safehost = host[0].replace(SERVERNAME_G, '');
// if there were unallowed characters, complain
if (!gl.__sni_allow_dangerous_name && safehost.length !== host[0].length) {
if (!gl.__sni_allow_dangerous_names && safehost.length !== host[0].length) {
res.statusCode = 400;
res.end("Malformed HTTP Header: 'Host: " + host[0] + "'");
return;

View File

@ -1,6 +1,6 @@
{
"name": "greenlock",
"version": "2.3.11",
"version": "2.3.12",
"description": "Let's Encrypt for node.js on npm",
"main": "index.js",
"files": [