libs.encodings: mime.unb64 is buggy with \0 should have been fixed

Tue, 25 Aug 2015 16:27:38 +0200

author
Kim Alvefur <zash@zash.se>
date
Tue, 25 Aug 2015 16:27:38 +0200
changeset 391
b496f0262a3f
parent 390
7f535a1d5827
child 392
cdea6a28369e

libs.encodings: mime.unb64 is buggy with \0 should have been fixed

libs/encodings.lua file | annotate | diff | comparison | revisions
--- a/libs/encodings.lua	Tue Aug 25 16:07:20 2015 +0200
+++ b/libs/encodings.lua	Tue Aug 25 16:27:38 2015 +0200
@@ -7,6 +7,6 @@
 module "encodings"
 
 stringprep = {};
-base64 = { encode = mime.b64, decode = not_impl }; --mime.unb64 is buggy with \0
+base64 = { encode = mime.b64, decode = mime.unb64 };
 
 return _M;

mercurial