From 790d6912fdc7f98b0ebd58861a8ac024b756f195 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Sat, 20 May 2017 02:35:41 +0100 Subject: [PATCH] re-add return to http request (removed in error) --- nodes/core/io/21-httprequest.js | 1 + 1 file changed, 1 insertion(+) diff --git a/nodes/core/io/21-httprequest.js b/nodes/core/io/21-httprequest.js index 0b39642c3..9ac8ffcaa 100644 --- a/nodes/core/io/21-httprequest.js +++ b/nodes/core/io/21-httprequest.js @@ -53,6 +53,7 @@ module.exports = function(RED) { } if (!url) { node.error(RED._("httpin.errors.no-url"),msg); + return; } // url must start http:// or https:// so assume http:// if not set if (url.indexOf("://") !== -1 && url.indexOf("http") !== 0) {