whitespace correction in webfinger.php
This commit is contained in:
parent
c4e47953ac
commit
3a184e2e1d
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue