Fix bug 303301 LDAP only works for attributes that are specified in lower case. r/sr=dmose, a=cbeard

This commit is contained in:
bugzilla%standard8.demon.co.uk 2005-08-10 16:46:52 +00:00
Родитель 760b88244b
Коммит c58662b3ea
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -169,6 +169,8 @@ nsAbLDAPAttributeMap.prototype = {
// go through the list of possible attrs in precedence order // go through the list of possible attrs in precedence order
for each (var attr in this.mPropertyMap[prop]) { for each (var attr in this.mPropertyMap[prop]) {
attr = attr.toLowerCase();
// find the first attr that exists in this message // find the first attr that exists in this message
if (msgAttrs.indexOf(attr) != -1) { if (msgAttrs.indexOf(attr) != -1) {