X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/af0fd7f3c9e7bcf632309fcba36fc5f93d2a0044..8f2cf8f5adaa08ef84b47bf9bc2f71e39236c22d:/src/src/transports/pipe.c?ds=sidebyside diff --git a/src/src/transports/pipe.c b/src/src/transports/pipe.c index e22722fd0..2ec4a72fb 100644 --- a/src/src/transports/pipe.c +++ b/src/src/transports/pipe.c @@ -592,16 +592,13 @@ if (!cmd || !*cmd) tblock->name); return FALSE; } - -{ uschar *m; -if ((m = is_tainted2(cmd, 0, "Tainted '%s' (command " - "for %s transport) not permitted", cmd, tblock->name))) +if (is_tainted(cmd)) { + addr->message = string_sprintf("Tainted '%s' (command " + "for %s transport) not permitted", cmd, tblock->name); addr->transport_return = PANIC; - addr->message = m; return FALSE; } -} /* When a pipe is set up by a filter file, there may be values for $thisaddress and numerical the variables in existence. These are passed in