OPPG-413: Fixed security hole inserted by validator itself..

namespaces
Frank Ronny Larsen 2013-07-11 15:13:15 +02:00
parent 4509626a0d
commit fb1b9fc719
1 changed files with 1 additions and 1 deletions

View File

@ -1449,7 +1449,7 @@ class H5PContentValidator {
else {
// If validator is not found, something exists in content that does
// not have a corresponding semantics field. Remove it.
$this->h5pF->setErrorMessage($this->h5pF->t('H5P internal error: no validator exists for ' . $key));
$this->h5pF->setErrorMessage($this->h5pF->t('H5P internal error: no validator exists for @key', array('@key' => $key)));
unset($group->$key);
}
}