From 1b765857c261021aa55f5262d33aeb5af8c70322 Mon Sep 17 00:00:00 2001 From: Chris Carlson Date: Fri, 10 May 2024 04:22:47 -0600 Subject: [PATCH] Fix PCRE stack limit for context parsing, omitting preg --- src/Logs/LaravelLog.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Logs/LaravelLog.php b/src/Logs/LaravelLog.php index cffca0b..475acab 100644 --- a/src/Logs/LaravelLog.php +++ b/src/Logs/LaravelLog.php @@ -109,7 +109,7 @@ protected function extractContextsFromFullText(): void $contexts = []; // Find matches. - $json_strings = $this->getJsonStrings(); + $json_strings = $this->getJsonStringsFromFullText(); if (empty($json_strings)) { return; @@ -180,7 +180,7 @@ protected function extractMailPreview(): void ]; } - protected function getJsonStrings(): array + protected function getJsonStringsFromFullText(): array { $json = ''; $json_strings = [];