mirror of
https://github.com/Intervention/image.git
synced 2025-08-20 20:51:20 +02:00
Fix bug
This commit is contained in:
@@ -73,7 +73,7 @@ abstract class AbstractDecoder implements DecoderInterface
|
||||
throw new DecoderException('Input is not Base64-encoded data.');
|
||||
}
|
||||
|
||||
$decoded = base64_decode($input);
|
||||
$decoded = base64_decode($input, true);
|
||||
|
||||
if ($decoded === false) {
|
||||
throw new DecoderException('Input can not be Base64-decoded.');
|
||||
|
Reference in New Issue
Block a user