additional checks

This commit is contained in:
Roland Gruber 2012-03-18 18:31:36 +00:00
parent 6418d24cdd
commit 3484997240
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ if (isset($dn) && isset($type)) {
$dn = str_replace("'", '',$dn);
$_SESSION['delete_dn'] = array($dn);
// redirect to delete.php
metaRefresh("../delete.php?type=" . $type);
metaRefresh("../delete.php?type=" . htmlspecialchars($type));
}
else {

View File

@ -58,7 +58,7 @@ if ($dn) {
else {
// print error message if user was not found
include '../main_header.php';
StatusMessage("ERROR", "", _("This user was not found!") . " (" . $user . ")");
StatusMessage("ERROR", "", _("This user was not found!") . " (" . htmlspecialchars($user) . ")");
echo "<p>&nbsp;</p>";
echo "<p><a href=\"list.php?type=group\">" . _("Back to group list") . "</a></p>";
include '../main_footer.php';