From: Olaf Braun Date: Mon, 19 Feb 2024 11:20:50 +0000 (+0100) Subject: Update wcfsetup/install/files/lib/system/service/worker/Encryption.class.php X-Git-Tag: 6.1.0_Alpha_1~47^2~88 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=01435e554737aa6f40d93ae8e1a0c48653b42cc8;p=GitHub%2FWoltLab%2FWCF.git Update wcfsetup/install/files/lib/system/service/worker/Encryption.class.php Co-authored-by: Tim Düsterhus --- diff --git a/wcfsetup/install/files/lib/system/service/worker/Encryption.class.php b/wcfsetup/install/files/lib/system/service/worker/Encryption.class.php index aae4195f2c..8446a78a4e 100644 --- a/wcfsetup/install/files/lib/system/service/worker/Encryption.class.php +++ b/wcfsetup/install/files/lib/system/service/worker/Encryption.class.php @@ -170,7 +170,7 @@ final class Encryption string $newPublicKey ): string { if ($serviceWorker->contentEncoding === ServiceWorker::CONTENT_ENCODING_AESGCM) { - $info = "Content-Encoding: auth\0"; + $info = "Content-Encoding: auth\x00"; } elseif ($serviceWorker->contentEncoding === ServiceWorker::CONTENT_ENCODING_AES128GCM) { $info = "WebPush: info\0" . $userPublicKey . $newPublicKey; } else {