Skip to content

Commit 1b76585

Browse files
author
Chris Carlson
committed
Fix PCRE stack limit for context parsing, omitting preg
1 parent 05d0936 commit 1b76585

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Logs/LaravelLog.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ protected function extractContextsFromFullText(): void
109109
$contexts = [];
110110

111111
// Find matches.
112-
$json_strings = $this->getJsonStrings();
112+
$json_strings = $this->getJsonStringsFromFullText();
113113

114114
if (empty($json_strings)) {
115115
return;
@@ -180,7 +180,7 @@ protected function extractMailPreview(): void
180180
];
181181
}
182182

183-
protected function getJsonStrings(): array
183+
protected function getJsonStringsFromFullText(): array
184184
{
185185
$json = '';
186186
$json_strings = [];

0 commit comments

Comments
 (0)