From 9bea17aec52ee9d2e4b9f05199ea138cd13fa392 Mon Sep 17 00:00:00 2001 From: Dan LaManna Date: Thu, 13 Aug 2026 17:37:57 +0000 Subject: [PATCH 1/2] Parameterize build name query (#3931) --- app/cdash/app/Model/BuildGroup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/cdash/app/Model/BuildGroup.php b/app/cdash/app/Model/BuildGroup.php index 9ab4e28455..f31cf05882 100644 --- a/app/cdash/app/Model/BuildGroup.php +++ b/app/cdash/app/Model/BuildGroup.php @@ -427,7 +427,7 @@ public function GetGroupIdFromRule(Build $build): int ->where('buildgroup.projectid', '=', $build->ProjectId) ->where('build2grouprule.buildtype', '=', $build->Type) ->where('build2grouprule.siteid', '=', -1) - ->whereRaw("'{$build->Name}' LIKE build2grouprule.buildname") + ->whereRaw('? LIKE build2grouprule.buildname', [$build->Name]) ->where('build2grouprule.starttime', '<', $build->StartTime) ->where(function ($query) use ($starttime): void { $query->where('build2grouprule.endtime', '=', '1980-01-01 00:00:00') From d6ff9ac4577712e7d0e79bc0b70d7801871207f2 Mon Sep 17 00:00:00 2001 From: William Allen <16820599+williamjallen@users.noreply.github.com> Date: Sun, 16 Aug 2026 16:23:31 -0400 Subject: [PATCH 2/2] Bump version to 5.3.0 (#3934) --- config/cdash.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/cdash.php b/config/cdash.php index 77562c194d..db1f387fda 100755 --- a/config/cdash.php +++ b/config/cdash.php @@ -19,7 +19,7 @@ 'min' => env('MINIMUM_PASSWORD_LENGTH', 5), 'expires' => env('PASSWORD_EXPIRATION', 0), ], - 'version' => '5.2.0', + 'version' => '5.3.0', 'registration' => [ 'email' => [ 'verify' => env('REGISTRATION_EMAIL_VERIFY', true),