From c714ee5ed13277172f033fad961909909e71d13b Mon Sep 17 00:00:00 2001 From: webhook_bot Date: Wed, 29 Nov 2023 10:28:30 +0800 Subject: [PATCH] =?UTF-8?q?fix=E5=88=86=E9=9A=94=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Metadata/GatewayHandle.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Metadata/GatewayHandle.php b/src/Metadata/GatewayHandle.php index 90a5338..2d9dce9 100644 --- a/src/Metadata/GatewayHandle.php +++ b/src/Metadata/GatewayHandle.php @@ -56,10 +56,10 @@ public static function toHeader(Metadata $metadata): array { $n = []; foreach ($metadata->header->toArray() as $h => $v) { - $n[GatewayHandle::MetadataHeaderPrefix . $h] = is_array($v) ? join(';', $v) : $v; + $n[GatewayHandle::MetadataHeaderPrefix . $h] = is_array($v) ? join(',', $v) : $v; } foreach ($metadata->trailer->toArray() as $h => $v) { - $n[GatewayHandle::MetadataTrailerPrefix . $h] = is_array($v) ? join(';', $v) : $v; + $n[GatewayHandle::MetadataTrailerPrefix . $h] = is_array($v) ? join(',', $v) : $v; } return $n;