From 80e0e60c3722cd542911187d2644866df3867138 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 27 Sep 2010 11:38:26 -0700 Subject: Add a comment in UserxrdAction warning future maintainers not to break domain migrations if adding domain checking to the webfinger lookup in future. --- plugins/OStatus/actions/userxrd.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/OStatus/actions') diff --git a/plugins/OStatus/actions/userxrd.php b/plugins/OStatus/actions/userxrd.php index 9aa7c0306..8179505a5 100644 --- a/plugins/OStatus/actions/userxrd.php +++ b/plugins/OStatus/actions/userxrd.php @@ -37,6 +37,8 @@ class UserxrdAction extends XrdAction if (count($parts) == 2) { list($nick, $domain) = $parts; // @fixme confirm the domain too + // @fixme if domain checking is added, ensure that it will not + // cause problems with sites that have changed domains! $nick = common_canonical_nickname($nick); $this->user = User::staticGet('nickname', $nick); } -- cgit v1.2.3-54-g00ecf