1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-22 06:42:42 +01:00

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
This commit is contained in:
Mark Jervelund 2024-02-12 11:51:24 +01:00 committed by Valerio Bozzolan
parent a7fb04f96c
commit b445e1d80d

View file

@ -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;
}
}