]> _ Git - cubeextranet.git/commitdiff
fix #3778 @0.25
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 8 Jul 2020 15:08:49 +0000 (15:08 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 8 Jul 2020 15:08:49 +0000 (15:08 +0000)
inc/ws/Util/html5/master/class.ws.html5.compiler.php

index c54a35a635b4b628374b50ad08111cdf0dd6b36f..7d794872665e4da0d60a4cc44ec9c18d7498673f 100644 (file)
@@ -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);