Merge branch 'saas-file-sanitization' into saas

Conflicts:
	airtime_mvc/application/modules/rest/controllers/MediaController.php
This commit is contained in:
Albert Santoni 2015-02-18 17:19:26 -05:00
commit 0535626df1
2 changed files with 1 additions and 4 deletions

View file

@ -204,6 +204,7 @@ class Rest_MediaController extends Zend_Rest_Controller
//local file storage
$file->setDbDirectory(self::MUSIC_DIRS_STOR_PK);
$file->fromArray($whiteList, BasePeer::TYPE_FIELDNAME);
//Our RESTful API takes "full_path" as a field, which we then split and translate to match
//our internal schema. Internally, file path is stored relative to a directory, with the directory