fix api bustage from bug #206252 for thunderbird

This commit is contained in:
scott%scott-macgregor.org 2003-12-18 17:25:34 +00:00
Родитель bf80b55723
Коммит ab52148d08
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -2249,7 +2249,7 @@ function AddAttachment(attachment)
var item = document.createElement("listitem");
if (!attachment.name)
attachment.name = gMsgCompose.AttachmentPrettyName(attachment.url);
attachment.name = gMsgCompose.AttachmentPrettyName(attachment.url, attachment.urlCharset);
// for security reasons, don't allow *-message:// uris to leak out
// we don't want to reveal the .slt path (for mailbox://), or the username or hostname