Compare commits

..

No commits in common. "540ac6c310f9797a0aaa6e77804033f6bb8c236e" and "2cfba7a2e714319c13679d18b07fba7946b0912e" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

@ -517,7 +517,7 @@ Greenlock.create = function (gl) {
req.headers.host = host.join(':'); req.headers.host = host.join(':');
} }
if (!gl.__sni_allow_domain_fronting) { if (gl.__sni_allow_fronting) {
if (req.socket && 'string' === typeof req.socket.servername) { if (req.socket && 'string' === typeof req.socket.servername) {
if (safehost && (safehost !== req.socket.servername.toLowerCase())) { if (safehost && (safehost !== req.socket.servername.toLowerCase())) {
res.statusCode = 400; res.statusCode = 400;

View File

@ -1,6 +1,6 @@
{ {
"name": "greenlock", "name": "greenlock",
"version": "2.4.2", "version": "2.4.1",
"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": [