зеркало из https://github.com/mozilla/gecko-dev.git
We don't want to send the whole path, just the filename.
This commit is contained in:
Родитель
af18b408ec
Коммит
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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче