Switch to nsIFileProtocolHandler.getURLSpecFromActualFile() for compatibility with TB 94 beta.

master
Jörg Knobloch 1 year ago
parent cef1197c7c
commit 962412ef6f

@ -34,7 +34,7 @@ function locationForContent(content) {
var fileHandler = Services.io
.getProtocolHandler("file")
.QueryInterface(Ci.nsIFileProtocolHandler);
return fileHandler.getURLSpecFromFile(file);
return fileHandler.getURLSpecFromActualFile(file);
}
function convertAttachment(pep) {

Loading…
Cancel
Save