Commit 85bd1cfe authored by Elias Villiger's avatar Elias Villiger
Browse files

#Bug 6401 Handle Backticks in sendmail

parent fef1a122
Pipeline #693 passed with stage
in 1 minute and 31 seconds
......@@ -211,6 +211,7 @@ class SendMail {
OnArray::arrayEscapeshellarg($args);
$cmd = $sendEmail . ' ' . implode(' ', $args);
$cmd = str_replace('`', '\`', $cmd); // escape backticks (escapeshellcmd would be too thorough)
exec($cmd, $arr, $rc);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment