We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98da97c commit e5c91a0Copy full SHA for e5c91a0
includes/html/pages/tools/oxidized-cfg-check.inc.php
@@ -8,6 +8,7 @@
8
$oxidized_cfg = Yaml::parse($_POST['config']);
9
$validate_cfg = validate_oxidized_cfg($oxidized_cfg);
10
foreach ($validate_cfg as $error) {
11
+ $error = htmlspecialchars($error);
12
echo "<div class='alert alert-danger'>$error</div>";
13
}
14
if (empty($validate_cfg)) {
includes/html/print-customoid.php
@@ -74,7 +74,7 @@
74
75
$count = dbFetchCell("SELECT COUNT(*) $query $where", $param);
76
if (isset($_POST['page_num']) && $_POST['page_num'] > 0 && $_POST['page_num'] <= $count) {
77
- $page_num = $_POST['page_num'];
+ $page_num = intval($_POST['page_num']);
78
} else {
79
$page_num = 1;
80
0 commit comments