All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit b41c3767 authored by Robert Ricci's avatar Robert Ricci

Make sure to quote $mailfrom address

parent 208085cc
......@@ -1161,8 +1161,9 @@ sub send_mail($$$@) {
# 'Bcc:' lines
my $mailfrom_str = "";
if ($mailfrom) {
$mailfrom_str = "-f$mailfrom";
$mailfrom_str = "-f'$mailfrom'";
print "| $SENDMAIL -odb -oem $mailfrom_str -t\n";
open(MAIL, "| $SENDMAIL -odb -oem $mailfrom_str -t");
Markdown is supported
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