From: Brion Vibber Date: Mon, 27 Sep 2010 18:38:26 +0000 (-0700) Subject: Add a comment in UserxrdAction warning future maintainers not to break domain migrati... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=80e0e60c3722cd542911187d2644866df3867138;p=quix0rs-gnu-social.git Add a comment in UserxrdAction warning future maintainers not to break domain migrations if adding domain checking to the webfinger lookup in future. --- 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); }