8000 [symfony/mailjet-mailer] Fix bug #47701 · symfony/symfony@7832d77 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7832d77

Browse files
committed
[symfony/mailjet-mailer] Fix bug #47701
1 parent f76a3b0 commit 7832d77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Mailer/Bridge/Mailjet/Transport/MailjetApiTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ private function castCustomHeader(string $value, string $type)
201201
return match ($type) {
202202
'bool' => filter_var($value, \FILTER_VALIDATE_BOOLEAN),
203203
'int' => (int) $value,
204-
'json' => json_decode($value, true, 2, \JSON_THROW_ON_ERROR),
204+
'json' => json_decode($value, true, 512, \JSON_THROW_ON_ERROR),
205205
'string' => $value,
206206
};
207207
}

0 commit comments

Comments
 (0)
0