зеркало из https://github.com/mozilla/pjs.git
Fix for email names with embedded &'s - Bug #16383 r=jefft
This commit is contained in:
Родитель
04abe430df
Коммит
acfd505aa6
|
@ -1074,9 +1074,19 @@ char *workAddr = nsnull;
|
|||
if ( (curName) && (*curName) )
|
||||
{
|
||||
nsString workString(curName);
|
||||
char *tName;
|
||||
|
||||
workString.Trim("\"");
|
||||
workName = workString.ToNewCString();
|
||||
tName = workString.ToNewCString();
|
||||
workName = nsEscapeHTML(tName);
|
||||
if (workName)
|
||||
{
|
||||
PR_FREEIF(tName);
|
||||
}
|
||||
else
|
||||
{
|
||||
workName = tName;
|
||||
}
|
||||
}
|
||||
|
||||
if ( (curAddress) && (*curAddress) )
|
||||
|
|
Загрузка…
Ссылка в новой задаче