diff options
-rw-r--r-- | buildmaster/build-list.php | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/buildmaster/build-list.php b/buildmaster/build-list.php index b69673f..79313e4 100644 --- a/buildmaster/build-list.php +++ b/buildmaster/build-list.php @@ -124,9 +124,9 @@ $columns = array( "mysql_query" => "CONCAT(" . "\"<a href=\\\"/buildmaster/dependencies.php?b=\"," . - "`ba_q`.`pkgbase`," . + mysql_url_encode("`ba_q`.`pkgbase`") . "," . "\"&a=\"," . - "`ba_q`.`arch`,". + mysql_url_encode("`ba_q`.`arch`") . ",". "\"&r=build-list\\\">\"," . "`ba_q`.`pkgbase`," . "\"</a>\"" . @@ -141,15 +141,15 @@ $columns = array( "IF(`ba_q`.`uses_upstream`," . "CONCAT(" . "\"<a href=\\\"https://git.archlinux.org/svntogit/\"," . - "`ba_q`.`git_repository`," . + mysql_url_encode("`ba_q`.`git_repository`") . "," . "\".git/tree/\"," . - "`ba_q`.`pkgbase`," . + mysql_url_encode("`ba_q`.`pkgbase`") . "," . "\"/repos/\"," . - "`ba_q`.`package_repository`," . + mysql_url_encode("`ba_q`.`package_repository`") . "," . "\"-\"," . - "IF(`ba_q`.`arch`=\"any\",\"any\",\"x86_64\")," . + mysql_url_encode("IF(`ba_q`.`arch`=\"any\",\"any\",\"x86_64\")") . "," . "\"?id=\"," . - "`ba_q`.`git_revision`," . + mysql_url_encode("`ba_q`.`git_revision`") . "," . "\"\\\">\"," . "`ba_q`.`git_revision`," . "\"</a>\"" . @@ -169,8 +169,9 @@ $columns = array( git_url( "packages", "tree", - "\",`ba_q`.`mod_git_revision`,\"", - "\",`ba_q`.`package_repository`,\"/\",`ba_q`.`pkgbase`,\"", + "\"," . mysql_url_encode("`ba_q`.`mod_git_revision`") . ",\"", + "\"," . mysql_url_encode("`ba_q`.`package_repository`") . ",\"/\"," . + mysql_url_encode("`ba_q`.`pkgbase`") . ",\"", null, true ) . @@ -354,7 +355,7 @@ $result = mysql_run_query( "GROUP_CONCAT(" . "CONCAT(" . "\"<a href=\\\"https://buildmaster.archlinux32.org/build-logs/error/\"," . - "`rfb`.`log_file`," . + mysql_url_encode("`rfb`.`log_file`") . "," . "\"\\\">\"," . "`fail_reasons`.`name`," . "\"</a>\"" . |