Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
d7bf532c
Commit
d7bf532c
authored
Aug 26, 2018
by
Carsten Rose
Browse files
Merge branch '6401-backtick-in-sendmail' into 'master'
#Bug 6401 Handle Backticks in sendmail See merge request
!58
parents
194bbd0c
85bd1cfe
Pipeline
#764
passed with stage
in 1 minute and 40 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
extension/qfq/qfq/report/SendMail.php
View file @
d7bf532c
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
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