Update CreateDocker.php

This commit is contained in:
Squidly271
2017-12-11 21:04:36 -05:00
committed by GitHub
parent 0bf3e67855
commit 1269c730c0
@@ -216,7 +216,7 @@ function postToXML($post, $setOwnership = false) {
for ($i = 0; $i < count($post["confName"]); $i++) {
$Type = $post['confType'][$i];
$config = $xml->addChild('Config', htmlspecialchars($post['confValue'][$i], ENT_XML1, 'UTF-8'));
$config = $xml->addChild('Config', xml_encode($post['confValue'][$i]));
$config['Name'] = xml_encode($post['confName'][$i]);
$config['Target'] = xml_encode($post['confTarget'][$i]);
$config['Default'] = xml_encode($post['confDefault'][$i]);