nextcloud/tests/Core/Controller
moktamd 1c33307a59 fix(metrics): validate label names in Metric, sanitize in AppsInfo
Add validation in the Metric constructor that rejects invalid
OpenMetrics label names with InvalidArgumentException. Sanitize
app IDs at the source in AppsInfo by replacing hyphens with
underscores before creating the Metric.

Fixes nextcloud/server#59247

Signed-off-by: moktamd <moktamd@users.noreply.github.com>
2026-03-31 11:20:40 +00:00
..
AppPasswordControllerTest.php fix: Adjust and add new tests 2026-01-12 11:07:44 +01:00
AutoCompleteControllerTest.php chore: run rector 2025-07-01 22:45:52 +02:00
AvatarControllerTest.php fix(core): Stop abusing the cache for avatar upload 2025-09-25 13:08:14 +02:00
ChangePasswordControllerTest.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
ClientFlowLoginControllerTest.php refactor: Apply rector changes 2026-03-01 14:43:11 +00:00
ClientFlowLoginV2ControllerTest.php refactor(core): migrate login flow ui from jQuery to Vue 2026-01-14 01:15:01 +01:00
ContactsMenuControllerTest.php feat(UserPlugin): Include teams in group search 2026-03-09 13:51:27 +01:00
CSRFTokenControllerTest.php chore: Add SPDX header 2024-05-13 17:41:36 +02:00
CssControllerTest.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
GuestAvatarControllerTest.php chore: run rector 2025-07-01 22:45:52 +02:00
JsControllerTest.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
LoginControllerTest.php Merge pull request #58059 from nextcloud/fix/add-missing-user-id-header 2026-02-06 18:17:39 +01:00
LostControllerTest.php chore: run rector 2025-07-01 22:45:52 +02:00
NavigationControllerTest.php chore: run rector 2025-07-01 22:45:52 +02:00
OCSControllerTest.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
OpenMetricsControllerTest.php fix(metrics): validate label names in Metric, sanitize in AppsInfo 2026-03-31 11:20:40 +00:00
PreviewControllerTest.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
TwoFactorChallengeControllerTest.php chore: run rector on tests with new rule 2025-06-12 18:38:29 +02:00
UserControllerTest.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
WellKnownControllerTest.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
WipeControllerTest.php chore: run rector 2025-07-01 22:45:52 +02:00