From: Mikael Nordfeldth Date: Tue, 29 Mar 2016 23:31:17 +0000 (+0200) Subject: Possibly replace weirdly capitalized htTPs: too X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=df3bcbb6cb1f129b60b69a5b8fe63e57e539e17e;p=quix0rs-gnu-social.git Possibly replace weirdly capitalized htTPs: too --- diff --git a/plugins/WebFinger/lib/webfingerresource.php b/plugins/WebFinger/lib/webfingerresource.php index e4f14b13d5..a1ebda6a33 100644 --- a/plugins/WebFinger/lib/webfingerresource.php +++ b/plugins/WebFinger/lib/webfingerresource.php @@ -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; } }