# HG changeset patch # User Kim Alvefur # Date 1440512858 -7200 # Node ID b496f0262a3fb615d359a322967019c86c6d5759 # Parent 7f535a1d5827d231a99d7ca0512d417f91989440 libs.encodings: mime.unb64 is buggy with \0 should have been fixed diff -r 7f535a1d5827 -r b496f0262a3f libs/encodings.lua --- 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;