parent
bfcf4228db
commit
54ca645e2c
|
@ -2906,7 +2906,7 @@ class H5PContentValidator {
|
||||||
|
|
||||||
// Remove attributes that should not exist, they may contain JSON escape
|
// Remove attributes that should not exist, they may contain JSON escape
|
||||||
// code.
|
// code.
|
||||||
$validkeys = array_merge(array('path', 'mime', 'copyright'), $typevalidkeys);
|
$validkeys = array_merge(array('path', 'mime', 'copyright', 'originalImage'), $typevalidkeys);
|
||||||
if (isset($semantics->extraAttributes)) {
|
if (isset($semantics->extraAttributes)) {
|
||||||
$validkeys = array_merge($validkeys, $semantics->extraAttributes); // TODO: Validate extraAttributes
|
$validkeys = array_merge($validkeys, $semantics->extraAttributes); // TODO: Validate extraAttributes
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue