Erroneous code ensuring Webfinger accounts
Ostatus_profile::ensureProfileURI() was accidentally falling through to the default switch case, and was also calling common_log() incorrectly.
This commit is contained in:
parent
7ca57e32aa
commit
a3c08faddd
@ -1779,8 +1779,10 @@ class Ostatus_profile extends Memcached_DataObject
|
||||
case 'mailto':
|
||||
$rest = $match[2];
|
||||
$oprofile = Ostatus_profile::ensureWebfinger($rest);
|
||||
break;
|
||||
default:
|
||||
common_log("Unrecognized URI protocol for profile: $protocol ($uri)");
|
||||
common_log(LOG_WARNING,
|
||||
"Unrecognized URI protocol for profile: $protocol ($uri)");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user