зеркало из https://github.com/mozilla/gecko-dev.git
Allow for multiple properties have a null attribute list (bug 309400); r+sr=bienvenu.
This commit is contained in:
Родитель
facd708671
Коммит
36f1af4c3b
|
@ -201,6 +201,11 @@ nsAbLDAPAttributeMap.prototype = {
|
|||
|
||||
for each (var attr in attrArray) {
|
||||
|
||||
// multiple attributes that mapped to the empty string are permitted
|
||||
if (!attr.length) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// if we've seen this before, there's a problem
|
||||
if (attrsSeen.indexOf(attr) != -1) {
|
||||
throw Components.results.NS_ERROR_FAILURE;
|
||||
|
|
Загрузка…
Ссылка в новой задаче