mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 02:05:19 +02:00
Avoid possible problems with numeric nicknames and GNU Social
This commit is contained in:
parent
1a05efb026
commit
5c75fe4c14
3 changed files with 35 additions and 21 deletions
|
@ -3,6 +3,13 @@ require_once("include/Probe.php");
|
|||
|
||||
function webfinger_content(App $a) {
|
||||
|
||||
if (!local_user()) {
|
||||
http_status_exit(403,
|
||||
array("title" => t("Public access denied."),
|
||||
"description" => t("Only logged in users are permitted to perform a probing.")));
|
||||
killme();
|
||||
}
|
||||
|
||||
$o .= '<h3>Webfinger Diagnostic</h3>';
|
||||
|
||||
$o .= '<form action="webfinger" method="get">';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue