mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-06 16:51:46 +00:00
bug #23894 --> be sure to escape the display name for the attachment b4
inserting it into the open attachment method. r=sspitzer
This commit is contained in:
parent
dfef0be8c9
commit
393090d0a8
@ -169,7 +169,9 @@ var messageHeaderSink = {
|
||||
|
||||
handleAttachment: function(url, displayName, uri)
|
||||
{
|
||||
var commandString = "OpenAttachURL('" + url + "', '" + displayName + "', '" + uri + "')";
|
||||
// be sure to escape the display name before we insert it into the
|
||||
// method
|
||||
var commandString = "OpenAttachURL('" + url + "', '" + escape(displayName) + "', '" + uri + "')";
|
||||
AddAttachmentToMenu(displayName, commandString);
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user