Skip to content
Snippets Groups Projects
Commit 779c47f5 authored by rswindell's avatar rswindell
Browse files

Fix base64 decode (function name wrong).

parent 9af3e5bc
No related branches found
No related tags found
No related merge requests found
......@@ -212,7 +212,7 @@ function decode_news_body(hdr, body)
case 'base64':
/* Remove non-base64 bytes */
body=body.replace(/[^ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=]/g,'');
body=b64_decode(body);
body=base64_decode(body);
hdr["content-transfer-encoding"].hdr_data='8bit';
break;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment