Ratio added as field instead of parameter, removed from whitelist.

HFJ-1645
pull/17/head
Thomas Marstrander 2016-03-06 13:40:50 +01:00
parent ee245f9344
commit 4ed368f5e7
1 changed files with 1 additions and 1 deletions

View File

@ -2951,7 +2951,7 @@ class H5PContentValidator {
* Validate given image data
*/
public function validateImage(&$image, $semantics) {
$this->_validateFilelike($image, $semantics, array('ratio', 'width', 'height', 'originalImage'));
$this->_validateFilelike($image, $semantics, array('width', 'height', 'originalImage'));
}
/**