whitespace correction in webfinger.php
This commit is contained in:
parent
c4e47953ac
commit
3a184e2e1d
|
@ -33,9 +33,9 @@ $request = strip_tags(urldecode($_GET['q']));
|
||||||
if($_GET['q']) {
|
if($_GET['q']) {
|
||||||
$reqParts = explode('@', $request);
|
$reqParts = explode('@', $request);
|
||||||
if(count($reqParts)==2) {
|
if(count($reqParts)==2) {
|
||||||
$userName = $reqParts[0];
|
$userName = $reqParts[0];
|
||||||
$hostName = $reqParts[1];
|
$hostName = $reqParts[1];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(substr($userName, 0, 5) == 'acct:') {
|
if(substr($userName, 0, 5) == 'acct:') {
|
||||||
$userName = substr($userName, 5);
|
$userName = substr($userName, 5);
|
||||||
|
|
Loading…
Reference in New Issue