From ec9c474c2a08d865c0f9ee532a9ec9bc01645259 Mon Sep 17 00:00:00 2001 From: ghost Date: Wed, 1 May 2024 02:15:03 +0300 Subject: [PATCH] do not escape exception message --- src/Server/Ratchet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Server/Ratchet.php b/src/Server/Ratchet.php index 942a422..911bc60 100644 --- a/src/Server/Ratchet.php +++ b/src/Server/Ratchet.php @@ -354,7 +354,7 @@ class Ratchet implements MessageComponentInterface (string) date('c'), (string) $connection->remoteAddress, (string) $connection->resourceId, - (string) str_replace('%', '%%', $exception->getMessage()) + (string) $exception->getMessage() ], $this->_config->nps->event->error->debug->template ) . PHP_EOL