EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
Ref
Yurii7cefdbc37cad
diff --git a/application/Espo/Core/WebSocket/Pusher.php b/application/Espo/Core/WebSocket/Pusher.phpindex d2249ee800..3c29b2a72d 100644--- a/application/Espo/Core/WebSocket/Pusher.php+++ b/application/Espo/Core/WebSocket/Pusher.php@@ -265,15 +265,13 @@ class Pusher implements WampServerInterface$command = $this->phpExecutablePath . " command.php " . $data['accessCheckCommand'];+ $replace = [];+foreach ($params as $key => $value) {- $command = str_replace(- ':' . $key,- escapeshellarg($value),- $command- );+ $replace[':' . $key] = escapeshellarg($value);}- return $command;+ return strtr($command, $replace);}/**