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
vecāks 3562b9ebfb
revīzija b7505cbccb
2 mainīti faili ar 2 papildinājumiem un 2 dzēšanām

Parādīt failu

@ -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;

Parādīt failu

@ -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": [