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

(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
This commit is contained in:
Mark Jervelund 2024-02-12 11:51:24 +01:00 committed by Aviv Eyal
parent 43c969cd27
commit d519f75dfd

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