Browse Source

v2.3.12: correct typo in name of private option

v2.3 v2.3.12
AJ ONeal 6 years ago
parent
commit
b7505cbccb
  1. 2
      index.js
  2. 2
      package.json

2
index.js

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

2
package.json

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

Loading…
Cancel
Save