Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/buildmaster
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-01-15 15:33:31 +0100
committerErich Eckner <git@eckner.net>2019-01-15 15:33:31 +0100
commit46f099ed0c4742c09b8e9ee3c357d1a92fece5bd (patch)
tree078b28605284e45c3628891652b7608640792546 /buildmaster
parentdf6da4fe0fc274388f9f87aa6626478a91f4b902 (diff)
buildmaster/mysql-issues.php: html-encode the install_targets - they may contain <>...
Diffstat (limited to 'buildmaster')
-rw-r--r--buildmaster/mysql-issues.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildmaster/mysql-issues.php b/buildmaster/mysql-issues.php
index 744f122..0c27608 100644
--- a/buildmaster/mysql-issues.php
+++ b/buildmaster/mysql-issues.php
@@ -94,7 +94,7 @@ require_once BASE . "/lib/mysql.php";
print " <font color=\"#00ff00\">(marked as to-be-deleted) ";
else
print " <font color=\"#ff0000\">";
- print $row["pkgfile"] . " depends on " . $row["install_target"] . " which is not provided by any package";
+ print $row["pkgfile"] . " depends on " . htmlspecialchars($row["install_target"]) . " which is not provided by any package";
if (isset($row["subst_repository"]))
print " - but can be replaced by the one in " . $row["subst_repository"];
elseif (isset($row["subst_buildlist"]))
@@ -175,7 +175,7 @@ require_once BASE . "/lib/mysql.php";
print " <font color=\"#00ff00\">(marked as to-be-deleted) ";
else
print " <font color=\"#800000\">";
- print $row["pkgfile"] . " depends on " . $row["install_target"] . " which is not provided by any package installable from enabled " . $row["stability"] . " repositories.<br>";
+ print $row["pkgfile"] . " depends on " . htmlspecialchars($row["install_target"]) . " which is not provided by any package installable from enabled " . $row["stability"] . " repositories.<br>";
print "</font>\n";
unset($row);
}