Ratio added as field instead of parameter, removed from whitelist.
HFJ-1645pull/17/head
parent
ee245f9344
commit
4ed368f5e7
|
@ -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'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue