summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gohr <gohr@cosmocode.de>2012-08-22 13:07:23 +0200
committerAndreas Gohr <gohr@cosmocode.de>2012-08-22 13:07:23 +0200
commite12ea8465c640702902f5a4d95793e0e980ca123 (patch)
treecdd773a41901cc2884dbfedc23a4025a99750bf3
parent7b0a749accedb4a6e1f6fb0115d59707f586ec9f (diff)
downloadrpg-e12ea8465c640702902f5a4d95793e0e980ca123.tar.gz
rpg-e12ea8465c640702902f5a4d95793e0e980ca123.tar.bz2
use UTF-8 aware lower casing
-rw-r--r--inc/auth/ad.class.php4
1 files changed, 2 insertions, 2 deletions
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])) {