Skip to content

Commit a360791

Browse files
committed
Merge branch 'master' into 3.0
2 parents af43eca + 254ced6 commit a360791

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Reports/Notifysend.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function __construct()
5858
{
5959
$path = Config::getExecutablePath('notifysend');
6060
if ($path !== null) {
61-
$this->path = $path;
61+
$this->path = escapeshellcmd($path);
6262
}
6363

6464
$timeout = Config::getConfigData('notifysend_timeout');
@@ -225,7 +225,7 @@ protected function notifyErrors($msg)
225225
*/
226226
protected function getBasicCommand()
227227
{
228-
$cmd = escapeshellcmd($this->path);
228+
$cmd = $this->path;
229229
$cmd .= ' --category dev.validate';
230230
$cmd .= ' -h int:transient:1';
231231
$cmd .= ' -t '.(int) $this->timeout;

0 commit comments

Comments
 (0)