From 80e0e60c3722cd542911187d2644866df3867138 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 27 Sep 2010 11:38:26 -0700 Subject: [PATCH] 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(+) diff --git a/plugins/OStatus/actions/userxrd.php b/plugins/OStatus/actions/userxrd.php index 9aa7c0306d..8179505a55 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); } -- 2.39.5