mirror of
https://github.com/Intervention/image.git
synced 2025-08-21 05:01: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.');
|
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.');
|
||||||
|
Reference in New Issue
Block a user