From a022f90cef30524ef98109c091e68af9c7a2dc18 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Mon, 19 Jun 2023 14:17:06 +0200 Subject: [PATCH] Bugfix: base64_decode() second parameter must be `true` --- snappymail/v/0.0.0/app/libraries/MailSo/Base/Utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snappymail/v/0.0.0/app/libraries/MailSo/Base/Utils.php b/snappymail/v/0.0.0/app/libraries/MailSo/Base/Utils.php index fd132d855..be1da5ff9 100644 --- a/snappymail/v/0.0.0/app/libraries/MailSo/Base/Utils.php +++ b/snappymail/v/0.0.0/app/libraries/MailSo/Base/Utils.php @@ -584,7 +584,7 @@ abstract class Utils public static function UrlSafeBase64Decode(string $sValue) : string { - return \base64_decode(\strtr($sValue, '-_', '+/'), '='); + return \base64_decode(\strtr($sValue, '-_', '+/'), true); } /**