[pmg-devel] [PATCH pmg-gui 1/1] SpamQuarantine: fix download of large emails

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Oct 25 12:31:22 CEST 2019

On 10/23/19 9:36 AM, Dominik Csapak wrote:
> since datauri downloads are size limited (2MB in chrome), we have
> to use another method, and instead of working around in the gui
> (e.g. by using URL.createObjectURL) make use of the existing download
> code in the api, which should have better compatibility
> (and omits the whole raw -> json -> raw -> base64 conversion chain from
> file to download)
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>  js/SpamQuarantine.js | 47 ++++++++++++++------------------------------
>  1 file changed, 15 insertions(+), 32 deletions(-)

applied, but replaced this interesting approach with binding the href
config property from the Download button directly in a followup.
Kept that for historical reasons.

More information about the pmg-devel mailing list