1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-21 05:01:20 +02:00
This commit is contained in:
Oliver Vogel
2025-06-21 12:16:09 +02:00
parent 77bdf1648e
commit d9b99adf3d

View File

@@ -73,7 +73,7 @@ abstract class AbstractDecoder implements DecoderInterface
throw new DecoderException('Input is not Base64-encoded data.'); throw new DecoderException('Input is not Base64-encoded data.');
} }
$decoded = base64_decode($input); $decoded = base64_decode($input, true);
if ($decoded === false) { if ($decoded === false) {
throw new DecoderException('Input can not be Base64-decoded.'); throw new DecoderException('Input can not be Base64-decoded.');