From d519f75dfdee61bb109468aa708c47f53f3e5128 Mon Sep 17 00:00:00 2001 From: Mark Jervelund Date: Mon, 12 Feb 2024 11:51:24 +0100 Subject: [PATCH] (stable) Fix config transaction rendering error on auth page by allowing PhutilSafeHTML Summary: Closes T15706 Test Plan: Checked that the page worked as expected with changes implemented Reviewers: O1 Blessed Committers, speck, valerio.bozzolan Reviewed By: O1 Blessed Committers, speck, valerio.bozzolan Subscribers: sirocyl, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno Maniphest Tasks: T15706 Differential Revision: https://we.phorge.it/D25512 --- .../auth/storage/PhabricatorAuthProviderConfigTransaction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/auth/storage/PhabricatorAuthProviderConfigTransaction.php b/src/applications/auth/storage/PhabricatorAuthProviderConfigTransaction.php index d7f974cb15..92bb4883bc 100644 --- a/src/applications/auth/storage/PhabricatorAuthProviderConfigTransaction.php +++ b/src/applications/auth/storage/PhabricatorAuthProviderConfigTransaction.php @@ -150,7 +150,7 @@ final class PhabricatorAuthProviderConfigTransaction $provider = $this->getProvider(); if ($provider) { $title = $provider->renderConfigPropertyTransactionTitle($this); - if (phutil_nonempty_string($title)) { + if (phutil_nonempty_stringlike($title)) { return $title; } }