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

Fix base64 decode (function name wrong).

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