From 8887572aedc8ec7d03037bd05122f2b40c5487a8 Mon Sep 17 00:00:00 2001 From: Mykyta Synelnikov Date: Tue, 18 Jul 2023 12:34:06 +0300 Subject: [PATCH] - fixed hosts in uppercase; --- includes/um-short-functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/um-short-functions.php b/includes/um-short-functions.php index a8e1f5c4..3ad24c9b 100644 --- a/includes/um-short-functions.php +++ b/includes/um-short-functions.php @@ -2878,6 +2878,7 @@ function um_allowed_redirect_hosts( $hosts ) { $host = trim( $host ); $host = str_replace( array( 'http://', 'https://' ), '', $host ); $host = trim( $host, '/' ); + $host = strtolower( $host ); if ( ! in_array( $host, $additional_hosts, true ) ) { $additional_hosts[] = $host;