We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents af43eca + 254ced6 commit a360791Copy full SHA for a360791
src/Reports/Notifysend.php
@@ -58,7 +58,7 @@ public function __construct()
58
{
59
$path = Config::getExecutablePath('notifysend');
60
if ($path !== null) {
61
- $this->path = $path;
+ $this->path = escapeshellcmd($path);
62
}
63
64
$timeout = Config::getConfigData('notifysend_timeout');
@@ -225,7 +225,7 @@ protected function notifyErrors($msg)
225
*/
226
protected function getBasicCommand()
227
228
- $cmd = escapeshellcmd($this->path);
+ $cmd = $this->path;
229
$cmd .= ' --category dev.validate';
230
$cmd .= ' -h int:transient:1';
231
$cmd .= ' -t '.(int) $this->timeout;
0 commit comments