Avoid possible problems with numeric nicknames and GNU Social

This commit is contained in:
Michael
2017-04-09 04:29:02 +00:00
parent 1a05efb026
commit 5c75fe4c14
3 changed files with 35 additions and 21 deletions
+7
View File
@@ -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">';