From d73640dfd1d252fe16ef9d3091c3eaaf5bbd6bab Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 16 Jan 2019 16:03:53 +0100 Subject: buildmaster/build-list.php: mysql_url_encode() stuff --- buildmaster/build-list.php | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'buildmaster') 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(" . "\"\"," . "`ba_q`.`pkgbase`," . "\"\"" . @@ -141,15 +141,15 @@ $columns = array( "IF(`ba_q`.`uses_upstream`," . "CONCAT(" . "\"\"," . "`ba_q`.`git_revision`," . "\"\"" . @@ -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(" . "\"\"," . "`fail_reasons`.`name`," . "\"\"" . -- cgit v1.2.3-70-g09d2