From f612b0fefb242b03d26f427088a674953e591118 Mon Sep 17 00:00:00 2001 From: mailrucp <50190667+mailrucp@users.noreply.github.com> Date: Wed, 30 Jul 2025 18:31:10 +0700 Subject: [PATCH 1/2] Troubleshooting issues with php 8.4 --- .../PostmanDiagnosticTestController.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php b/Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php index 69c39e05..92127495 100644 --- a/Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php +++ b/Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php @@ -155,6 +155,10 @@ public function outputDiagnosticsContent() { * @author jasonhendriks */ class PostmanGetDiagnosticsViaAjax { + /** + * @var array|null + */ + public $cleanDiagnostics = null; private $diagnostics; private $options; private $authorizationToken; From 6419b637ded77d60541e55dc4c4a4e1e6f792047 Mon Sep 17 00:00:00 2001 From: mailrucp <50190667+mailrucp@users.noreply.github.com> Date: Wed, 30 Jul 2025 18:34:39 +0700 Subject: [PATCH 2/2] Update PostmanEmailAddress.php --- Postman/Postman-Mail/PostmanEmailAddress.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Postman/Postman-Mail/PostmanEmailAddress.php b/Postman/Postman-Mail/PostmanEmailAddress.php index 6eaf6595..34eba584 100644 --- a/Postman/Postman-Mail/PostmanEmailAddress.php +++ b/Postman/Postman-Mail/PostmanEmailAddress.php @@ -78,7 +78,7 @@ public static function convertToArray($emails) { assert ( ! empty ( $emails ) ); if (! is_array ( $emails )) { // http://tiku.io/questions/955963/splitting-comma-separated-email-addresses-in-a-string-with-commas-in-quotes-in-p - $t = str_getcsv ( $emails ); + $t = str_getcsv($emails, ',', '"', '\\'); $emails = array (); foreach ( $t as $k => $v ) { if (strpos ( $v, ',' ) !== false) { @@ -98,4 +98,4 @@ public function log(PostmanLogger $log, $desc) { $log->debug ( $message ); } } -} \ No newline at end of file +}