Page MenuHomePhorge

D25258.1737706227.diff
No OneTemporary

D25258.1737706227.diff

diff --git a/src/applications/files/conduit/FileUploadConduitAPIMethod.php b/src/applications/files/conduit/FileUploadConduitAPIMethod.php
--- a/src/applications/files/conduit/FileUploadConduitAPIMethod.php
+++ b/src/applications/files/conduit/FileUploadConduitAPIMethod.php
@@ -31,8 +31,10 @@
$view_policy = $request->getValue('viewPolicy');
$data = $request->getValue('data_base64');
+ if ($data === null) {
+ throw new Exception(pht('Unable to decode base64 data!'));
+ }
$data = $this->decodeBase64($data);
-
$params = array(
'authorPHID' => $viewer->getPHID(),
'canCDN' => $can_cdn,

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 24, 08:10 (2 w, 4 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1147195
Default Alt Text
D25258.1737706227.diff (636 B)

Event Timeline