diff --git a/red/nodes/Flow.js b/red/nodes/Flow.js index 2e3607a47..bec251138 100644 --- a/red/nodes/Flow.js +++ b/red/nodes/Flow.js @@ -27,10 +27,42 @@ function getID() { return (1+Math.random()*4294967295).toString(16); } +var EnvVarPropertyRE = /^\$\((\S+)\)$/; + +function mapEnvVarProperties(obj,prop) { + if (Buffer.isBuffer(obj[prop])) { + return; + } else if (Array.isArray(obj[prop])) { + for (var i=0;i