|
@@ -659,7 +659,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
|
|
echo " <input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.location='domains.php'\" value='".$text['button-back']."'>\n";
|
|
|
}
|
|
|
if (permission_exists('domain_export')) {
|
|
|
- echo " <input type='button' class='btn' name='' alt='".$text['button-export']."' onclick=\"window.location='".PROJECT_PATH."/app/domain_export/index.php?id=".$domain_uuid."'\" value='".$text['button-export']."'>\n";
|
|
|
+ echo " <input type='button' class='btn' name='' alt='".$text['button-export']."' onclick=\"window.location='".PROJECT_PATH."/app/domain_export/index.php?id=".escape($domain_uuid)."'\" value='".$text['button-export']."'>\n";
|
|
|
}
|
|
|
echo " <input type='submit' name='submit' class='btn' value='".$text['button-save']."'>\n";
|
|
|
echo "</td>\n";
|
|
@@ -681,7 +681,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
|
|
echo " ".$text['label-name']."\n";
|
|
|
echo "</td>\n";
|
|
|
echo "<td class='vtable' align='left'>\n";
|
|
|
- echo " <input class='formfld' type='text' name='domain_name' maxlength='255' value=\"".$domain_name."\">\n";
|
|
|
+ echo " <input class='formfld' type='text' name='domain_name' maxlength='255' value=\"".escape($domain_name)."\">\n";
|
|
|
echo "<br />\n";
|
|
|
echo $text['description-name']."\n";
|
|
|
echo "</td>\n";
|
|
@@ -706,7 +706,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
|
|
echo " ".$text['label-description']."\n";
|
|
|
echo "</td>\n";
|
|
|
echo "<td class='vtable' align='left'>\n";
|
|
|
- echo " <input class='formfld' type='text' name='domain_description' maxlength='255' value=\"".$domain_description."\">\n";
|
|
|
+ echo " <input class='formfld' type='text' name='domain_description' maxlength='255' value=\"".escape($domain_description)."\">\n";
|
|
|
echo "<br />\n";
|
|
|
echo $text['description-description']."\n";
|
|
|
echo "</td>\n";
|
|
@@ -715,7 +715,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
|
|
echo " <tr>\n";
|
|
|
echo " <td colspan='2' align='right'>\n";
|
|
|
if ($action == "update") {
|
|
|
- echo " <input type='hidden' name='domain_uuid' value='$domain_uuid'>\n";
|
|
|
+ echo " <input type='hidden' name='domain_uuid' value='".escape($domain_uuid)."'>\n";
|
|
|
}
|
|
|
echo " <br />";
|
|
|
echo " <input type='submit' name='submit' class='btn' value='".$text['button-save']."'>\n";
|