CC-2747: If the file contains '\' in its meta title, airtime doesn't
detect duplicate - fixed - extra fix: there was also problem with web UI upload and it's fixed see the comment on the ticket for more detail.
This commit is contained in:
parent
1cbb0345b3
commit
9bc1c66fe3
2 changed files with 8 additions and 7 deletions
|
@ -40,7 +40,7 @@ class PluploadController extends Zend_Controller_Action
|
|||
$tempname = $this->_getParam('tempname');
|
||||
$result = Application_Model_StoredFile::copyFileToStor($upload_dir, $filename, $tempname);
|
||||
if (!is_null($result))
|
||||
die('{"jsonrpc" : "2.0", "error" : {"code": '.$result['code'].', "message" : "'.$result['message'].'"}}');
|
||||
die('{"jsonrpc" : "2.0", "error" : '.json_encode($result).'}');
|
||||
|
||||
die('{"jsonrpc" : "2.0"}');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue