From: vincent@cubedesigners.com Date: Wed, 8 Jul 2020 15:08:49 +0000 (+0000) Subject: fix #3778 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=f87d2e4b61232232f3c415ec2326b944f23a72ab;p=cubeextranet.git fix #3778 @0.25 --- diff --git a/inc/ws/Util/html5/master/class.ws.html5.compiler.php b/inc/ws/Util/html5/master/class.ws.html5.compiler.php index c54a35a63..7d7948726 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -1098,7 +1098,7 @@ class wsHTML5Compiler $vars = array('scorm_id', 'scorm_org', 'scorm_title'); foreach ($vars as $v) { - $manifest = str_replace('$' . $v, $this->book->parametres->$v, $manifest); + $manifest = str_replace('$' . $v, htmlspecialchars($this->book->parametres->$v, ENT_QUOTES), $manifest); } $this->vdir->file_put_contents('imsmanifest.xml', $manifest);