Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Elijah Grubb
emulab-devel
Commits
b41c3767
Commit
b41c3767
authored
Jun 25, 2018
by
Robert Ricci
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure to quote $mailfrom address
parent
208085cc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tools/git/gitmail
tools/git/gitmail
+2
-1
No files found.
tools/git/gitmail
View file @
b41c3767
...
...
@@ -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
");
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment