rem: var fileURL = data.value.QueryInterface(Components.interfaces.nsISupportsString).data; 
add: var fileURL = data.value.QueryInterface(Components.interfaces.nsISupportsString).data.split("\n")[0]; 
context:   onDragOver: function (aEvent, aFlavor, aDragSession)  {    this._ensureServices();      aDragSession.canDrop = true;    var count = aDragSession.numDropItems;    for (var i = 0; i < count; ++i) {      var xfer = Components.classes["@mozilla.org/widget/transferable;1"]                          .createInstance(Components.interfaces.nsITransferable);      xfer.addDataFlavor("text/x-moz-url");      aDragSession.getData(xfer, i);            var data = { }, length = { };      xfer.getTransferData("text/x-moz-url", data, length);      var fileURL = data.value.QueryInterface(Components.interfaces.nsISupportsString).data;      var fileURI = this._ioServ.newURI(fileURL, null, null);      var url = fileURI.QueryInterface(Components.interfaces.nsIURL);      if (url.fileExtension != "jar" && url.fileExtension != "xpi") {        aDragSession.canDrop = false;        break;      }    }  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/b0c4bbc34331544bade0321656188ac9010d2168/extensions.js/clean/toolkit/mozapps/extensions/content/extensions.js