v2.3.12: correct typo in name of private option

这个提交包含在:
AJ ONeal 2018-08-18 02:06:49 -06:00
父节点 3562b9ebfb
当前提交 b7505cbccb
共有 2 个文件被更改,包括 2 次插入2 次删除

查看文件

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

查看文件

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