add:    var messagePrefix = /^mailbox-message:|^imap-message:|^news-message:/i; if (messagePrefix.test(attachment.name)) attachment.name = sComposeMsgsBundle.getString("messageAttachmentSafeName"); else {   var mailProtocol = /^mailbox:|^imap:|^s?news:/i; if (mailProtocol.test(attachment.name)) attachment.name = sComposeMsgsBundle.getString("partAttachmentSafeName"); }  
context: function AddAttachment(attachment){  if (attachment && attachment.url)  {    var bucket = document.getElementById("attachmentBucket");    var item = document.createElement("listitem");    if (!attachment.name)      attachment.name = gMsgCompose.AttachmentPrettyName(attachment.url);    item.setAttribute("label", attachment.name);    //use for display only    item.attachment = attachment;   //full attachment object stored here    try {      item.setAttribute("tooltiptext", unescape(attachment.url));    } catch(e) {      item.setAttribute("tooltiptext", attachment.url);    }    item.setAttribute("class", "listitem-iconic");    item.setAttribute("image", "moz-icon:" + attachment.url);    bucket.appendChild(item);  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/c9c716aca0dbebc841483401df92aac6c62297e4/MsgComposeCommands.js/clean/mailnews/compose/resources/content/MsgComposeCommands.js