From 19a7bddc5fe201885c405546fd236ab09e86ab5a Mon Sep 17 00:00:00 2001 From: Matthias Pfefferle Date: Mon, 18 May 2020 16:46:51 +0200 Subject: [PATCH] check case insensitive --- includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index df41bfc..90dec8a 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -325,7 +325,7 @@ function get_blacklist() { */ function is_blacklisted( $url ) { foreach ( \ActivityPub\get_blacklist() as $blacklisted_host ) { - if ( \strpos( $url, $blacklisted_host ) !== false ) { + if ( \stripos( $url, $blacklisted_host ) !== false ) { return true; } }