mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
We don't want to send the whole path, just the filename.
This commit is contained in:
parent
af18b408ec
commit
69feba9926
@ -512,7 +512,7 @@ public class CompositionPanel extends GeneralPanel {
|
||||
att.setText(new String(bs));
|
||||
att.setHeader("Content-Type", mimeString);
|
||||
att.setHeader("Content-Transfer-Encoding", encName);
|
||||
att.setFileName(attachments[i]);
|
||||
att.setFileName(new File(attachments[i]).getName());
|
||||
att.setDisposition("Attachment");
|
||||
multi.addBodyPart(att);
|
||||
} catch (Exception e) {
|
||||
|
Loading…
Reference in New Issue
Block a user