From b4e2061e85438f968cf7979b84e4a609bc3a3f59 Mon Sep 17 00:00:00 2001 From: btsimonh Date: Mon, 18 Nov 2019 17:03:59 +0000 Subject: [PATCH] Update packages/node_modules/@node-red/nodes/core/network/21-httprequest.js Co-Authored-By: Nick O'Leary --- .../node_modules/@node-red/nodes/core/network/21-httprequest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/node_modules/@node-red/nodes/core/network/21-httprequest.js b/packages/node_modules/@node-red/nodes/core/network/21-httprequest.js index 16b4cb950..0d919cad9 100644 --- a/packages/node_modules/@node-red/nodes/core/network/21-httprequest.js +++ b/packages/node_modules/@node-red/nodes/core/network/21-httprequest.js @@ -89,7 +89,7 @@ module.exports = function(RED) { method = msg.method.toUpperCase(); // use the msg parameter } - var isHttps = (/^https/.test(url)); + var isHttps = (/^https/i.test(url)); var opts = {}; opts.url = url;