diff --git a/mailnews/compose/resources/content/MsgComposeCommands.js b/mailnews/compose/resources/content/MsgComposeCommands.js index 303512e2b62..acf2641aaa5 100644 --- a/mailnews/compose/resources/content/MsgComposeCommands.js +++ b/mailnews/compose/resources/content/MsgComposeCommands.js @@ -2557,7 +2557,7 @@ var attachmentBucketObserver = { { var ioService = Components.classes["@mozilla.org/network/io-service;1"] .getService(Components.interfaces.nsIIOService); - rawData = ioService.getURLSpecFromFile(aData.data); + rawData = ioService.getURLSpecFromFile(rawData); } else {