Add a comment in UserxrdAction warning future maintainers not to break domain migrations if adding domain checking to the webfinger lookup in future.
This commit is contained in:
parent
617b6f4f7d
commit
80e0e60c37
@ -37,6 +37,8 @@ class UserxrdAction extends XrdAction
|
|||||||
if (count($parts) == 2) {
|
if (count($parts) == 2) {
|
||||||
list($nick, $domain) = $parts;
|
list($nick, $domain) = $parts;
|
||||||
// @fixme confirm the domain too
|
// @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);
|
$nick = common_canonical_nickname($nick);
|
||||||
$this->user = User::staticGet('nickname', $nick);
|
$this->user = User::staticGet('nickname', $nick);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user