From e12ea8465c640702902f5a4d95793e0e980ca123 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Wed, 22 Aug 2012 13:07:23 +0200 Subject: use UTF-8 aware lower casing --- inc/auth/ad.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inc') diff --git a/inc/auth/ad.class.php b/inc/auth/ad.class.php index 48f3b9247..674726a7e 100644 --- a/inc/auth/ad.class.php +++ b/inc/auth/ad.class.php @@ -244,8 +244,8 @@ class auth_ad extends auth_basic { list($name, $dom) = explode('@', $name, 2); // clean up both - $dom = strtolower(trim($dom)); - $name = strtolower(trim($name)); + $dom = utf8_strtolower(trim($dom)); + $name = utf8_strtolower(trim($name)); // is this a known, valid domain? if not discard if(!is_array($this->cnf[$dom])) { -- cgit v1.2.3