1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-22 21:40:55 +01:00

Fix the whitespace issue in the message "Access Denied: Restricted File"

Summary:
Added whitespaces where missing in the restricted file message.

Closes T15270

Test Plan: Access a forbidden file. Check whitespaces in the error message.

Reviewers: O1 Blessed Committers, valerio.bozzolan, aklapper, waldyrious

Reviewed By: O1 Blessed Committers, valerio.bozzolan, waldyrious

Subscribers: aklapper, waldyrious, avivey, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Tags: #ux

Maniphest Tasks: T15270

Differential Revision: https://we.phorge.it/D25419
This commit is contained in:
Waldir Pimenta 2024-05-05 14:00:06 +03:00 committed by Valerio Bozzolan
parent 81653abb54
commit c8fb504690

View file

@ -699,7 +699,7 @@ final class PhabricatorPolicyFilter extends Phobject {
$text_details = array_filter(array_merge($head, $exceptions));
$text_details = implode(' ', $text_details);
$html_details = array($head, $more, $exceptions);
$html_details = array($head, $more, phutil_implode_html(' ', $exceptions));
$access_denied = $this->renderAccessDenied($object);