v2.3.12: correct typo in name of private option
This commit is contained in:
parent
3562b9ebfb
commit
b7505cbccb
2
index.js
2
index.js
|
@ -505,7 +505,7 @@ Greenlock.create = function (gl) {
|
||||||
var safehost = host[0].replace(SERVERNAME_G, '');
|
var safehost = host[0].replace(SERVERNAME_G, '');
|
||||||
|
|
||||||
// if there were unallowed characters, complain
|
// 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.statusCode = 400;
|
||||||
res.end("Malformed HTTP Header: 'Host: " + host[0] + "'");
|
res.end("Malformed HTTP Header: 'Host: " + host[0] + "'");
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "greenlock",
|
"name": "greenlock",
|
||||||
"version": "2.3.11",
|
"version": "2.3.12",
|
||||||
"description": "Let's Encrypt for node.js on npm",
|
"description": "Let's Encrypt for node.js on npm",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"files": [
|
"files": [
|
||||||
|
|
Loading…
Reference in New Issue