- Password strength checker -FRU
- Show user picture on the mini-profile -FRU
- Add an anti-XSRF framework, and add protection to most pages -VZA
+ - Add a 'disallow all' robots.txt in development working copies. -VZA
Bug/Wish:
* Core:
'valid.html' => $this->make_hook('valid', AUTH_PUBLIC),
'favicon.ico' => $this->make_hook('favicon', AUTH_PUBLIC),
+ 'robots.txt' => $this->make_hook('robotstxt', AUTH_PUBLIC, 'user', NO_HTTPS),
);
}
exit;
}
+ function handler_robotstxt(&$page)
+ {
+ global $globals;
+ if (!$globals->core->restricted_platal) {
+ return PL_NOT_FOUND;
+ }
+
+ header('Content-Type: text/plain');
+ echo "User-agent: *\n";
+ echo "Disallow: /\n";
+ exit;
+ }
+
function handler_purge_cache(&$page)
{
require_once 'wiki.inc.php';