forked from GNUsocial/gnu-social
Possibly replace weirdly capitalized htTPs: too
This commit is contained in:
parent
0177c8f1cf
commit
df3bcbb6cb
@ -42,7 +42,7 @@ abstract class WebFingerResource
|
||||
if (!strtolower(parse_url($alias, PHP_URL_SCHEME)) === 'https') {
|
||||
continue;
|
||||
}
|
||||
$aliases[preg_replace('/^https:/', 'http:', $alias, 1)] = $id;
|
||||
$aliases[preg_replace('/^https:/i', 'http:', $alias, 1)] = $id;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user