Filter file scheme; disable http, https and ftp entirely

This commit is contained in:
Scott Nonnenberg 2018-05-23 16:26:40 -07:00
parent 96bbc9d738
commit e2d044e02b
4 changed files with 169 additions and 3 deletions

View file

@ -742,7 +742,6 @@ async function exportConversation(db, conversation, options) {
const jsonString = JSON.stringify(stringify(message));
stream.write(jsonString);
console.log({ backupMessage: message });
if (attachments && attachments.length > 0) {
const exportAttachments = () =>
writeAttachments(attachments, {