Resolve #967 btoa() issue

This commit is contained in:
the-djmaze 2023-02-15 17:29:47 +01:00
parent 03379a6163
commit 4852895488
4 changed files with 11 additions and 6 deletions

View file

@ -1,3 +1,4 @@
//import { b64Encode } from 'Common/Utils';
const
// RFC2045
@ -68,6 +69,7 @@ export function ParseMime(text)
body = QPDecode(body);
}
body = btoa(body);
// body = b64Encode(body);
}
return 'data:' + this.headerValue('content-type') + ';base64,' + body;
}