зеркало из https://github.com/mozilla/pjs.git
Fix bug 303301 LDAP only works for attributes that are specified in lower case. r/sr=dmose, a=cbeard
This commit is contained in:
Родитель
760b88244b
Коммит
c58662b3ea
|
@ -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) {
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче