projects
/
m6w6
/
seekat
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
flush
[m6w6/seekat]
/
lib
/
API
/
ContentType.php
diff --git
a/lib/API/ContentType.php
b/lib/API/ContentType.php
index 3ce123d1024e391dc30eea192c6956e463631eb6..d13b11a6d925a4581fefd96d203b9779c5ed4f1a 100644
(file)
--- a/
lib/API/ContentType.php
+++ b/
lib/API/ContentType.php
@@
-123,7
+123,7
@@
final class ContentType
* @throws UnexpectedValueException
*/
private static function fromBase64(Body $base64) : string {
* @throws UnexpectedValueException
*/
private static function fromBase64(Body $base64) : string {
- if (false === ($decoded = base64_decode($base64))) {
+ if (false === ($decoded = base64_decode($base64
, true
))) {
throw new UnexpectedValueException("Could not decode BASE64");
}
return $decoded;
throw new UnexpectedValueException("Could not decode BASE64");
}
return $decoded;