зеркало из https://github.com/mozilla/pjs.git
fix 363094, with autcompleteToMyDomain set, we still append domain to addresses that have @ in them (in some cases), sr=mscott
This commit is contained in:
Родитель
a70c8df559
Коммит
79e75d1d75
|
@ -144,8 +144,11 @@ nsAbAutoCompleteSession::AddToResult(const PRUnichar* pNickNameStr,
|
|||
return;
|
||||
|
||||
nsAutoString aStr(pDisplayNameStr);
|
||||
aStr.Append(PRUnichar('@'));
|
||||
aStr += mDefaultDomain;
|
||||
if (aStr.FindChar('@') == kNotFound)
|
||||
{
|
||||
aStr.Append(PRUnichar('@'));
|
||||
aStr += mDefaultDomain;
|
||||
}
|
||||
fullAddrStr = ToNewUnicode(aStr);
|
||||
}
|
||||
else
|
||||
|
|
Загрузка…
Ссылка в новой задаче