Fix for bug # 143161. Autocompletion does not work with ldap server with multibyte basedn.

r=dmose, sr=sspitzer
This commit is contained in:
srilatha%netscape.com 2002-05-10 21:04:00 +00:00
Родитель 8c59ba4290
Коммит 498f4b5546
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -877,8 +877,8 @@ function setupLdapAutocompleteSession()
Components.interfaces.nsILDAPURL);
try {
serverURL.spec = sPrefs.getCharPref(autocompleteDirectory +
".uri");
serverURL.spec = sPrefs.getComplexValue(autocompleteDirectory +".uri",
Components.interfaces.nsISupportsWString).data;
} catch (ex) {
dump("ERROR: " + ex + "\n");
}