diff --git a/packages/node_modules/@node-red/util/lib/util.js b/packages/node_modules/@node-red/util/lib/util.js index ea6090355..8b4fd0c17 100644 --- a/packages/node_modules/@node-red/util/lib/util.js +++ b/packages/node_modules/@node-red/util/lib/util.js @@ -80,7 +80,7 @@ function ensureBuffer(o) { * @memberof @node-red/util_util */ function cloneMessage(msg) { - if (typeof msg !== "undefined") { + if (typeof msg !== "undefined" && msg !== null) { // Temporary fix for #97 // TODO: remove this http-node-specific fix somehow var req = msg.req;