From: Evan Prodromou Date: Fri, 11 Jul 2008 17:11:13 +0000 (-0400) Subject: add 'avatar' to blacklisted names X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=335d5f2e89261cdb74c12ddb9e46d549200d3364;p=quix0rs-gnu-social.git add 'avatar' to blacklisted names darcs-hash:20080711171113-84dde-56b61d305e207bdb7d1fa844356fbc41e5bd43b9.gz --- diff --git a/classes/User.php b/classes/User.php index 99aac626f8..ab550b8e1a 100644 --- a/classes/User.php +++ b/classes/User.php @@ -91,7 +91,7 @@ class User extends DB_DataObject # XXX: should already be validated for size, content, etc. static $blacklist = array('rss', 'xrds', 'doc', 'main', 'settings', 'notice', 'user', - 'search'); + 'search', 'avatar'); $merged = array_merge($blacklist, common_config('nickname', 'blacklist')); return !in_array($nickname, $merged); }