Avoid possible problems with numeric nicknames and GNU Social
This commit is contained in:
@@ -4,6 +4,13 @@ require_once('include/Scrape.php');
|
||||
|
||||
function probe_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>Probe Diagnostic</h3>';
|
||||
|
||||
$o .= '<form action="probe" method="get">';
|
||||
|
||||
Reference in New Issue
Block a user