From fb1b9fc719358920a419633bc491bb821cfd92ef Mon Sep 17 00:00:00 2001 From: Frank Ronny Larsen Date: Thu, 11 Jul 2013 15:13:15 +0200 Subject: [PATCH] OPPG-413: Fixed security hole inserted by validator itself.. --- h5p.classes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/h5p.classes.php b/h5p.classes.php index d00b01d..d2207f3 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -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); } }