From cd4755d9cdde3073f91f22b16a0caabbd54af01f Mon Sep 17 00:00:00 2001 From: Terence Eden Date: Mon, 4 Mar 2024 09:00:09 +0000 Subject: [PATCH] Fix actorUsername --- index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/index.php b/index.php index d708292..e0b493f 100644 --- a/index.php +++ b/index.php @@ -627,6 +627,7 @@ HTML; $actorArray = explode( "/", $actor ); $actorName = end( $actorArray ); $actorServer = parse_url( $actor, PHP_URL_HOST ); + $actorUsername = "@{$actorName}@{$actorServer}"; // Make i18n usernames readable and safe. $actorName = htmlspecialchars( rawurldecode( $actorName ) ); $actorHTML = "@{$actorName}";