Merge branch 'MAINT_3_4_6' into QA_3_4

This commit is contained in:
Marc Delisle
2011-10-04 06:20:28 -04:00
2 changed files with 3 additions and 2 deletions

View File

@@ -422,7 +422,7 @@ class ConfigFile
}
$verbose = $this->get("Servers/$id/verbose");
if (!empty($verbose)) {
return $verbose;
return htmlspecialchars($verbose);
}
$host = $this->get("Servers/$id/host");
return empty($host) ? 'localhost' : $host;
@@ -508,4 +508,4 @@ class ConfigFile
return $c;
}
}
?>
?>