whitespace correction in webfinger.php

This commit is contained in:
Michiel de Jong 2012-05-07 09:51:37 +02:00
parent c4e47953ac
commit 3a184e2e1d
1 changed files with 3 additions and 3 deletions

View File

@ -33,9 +33,9 @@ $request = strip_tags(urldecode($_GET['q']));
if($_GET['q']) {
$reqParts = explode('@', $request);
if(count($reqParts)==2) {
$userName = $reqParts[0];
$hostName = $reqParts[1];
}
$userName = $reqParts[0];
$hostName = $reqParts[1];
}
}
if(substr($userName, 0, 5) == 'acct:') {
$userName = substr($userName, 5);