diff --git a/public_html/deployment/classes/project.class.php b/public_html/deployment/classes/project.class.php index 9a891c3c3efbbf174531f7593f15efde28c29452..30b4cc6d0f5df296fac97d67949bdf4e187df0b0 100644 --- a/public_html/deployment/classes/project.class.php +++ b/public_html/deployment/classes/project.class.php @@ -199,7 +199,7 @@ class project extends base { $this->log(__FUNCTION__ . " start $sCommand"); exec($sCommand, $aOutput, $iRc); $this->log(__FUNCTION__ . " ended command $sCommand"); - $sReturn.=(count($aOutput)) ? implode("\n", $aOutput) . "\n" : ""; + $sReturn.=(count($aOutput)) ? htmlentities(implode("\n", $aOutput)) . "\n" : ""; /* $descriptorspec = array( 0 => array("pipe", "r"), // stdin is a pipe that the child will read from