Comparison

libs/encodings.lua @ 391:b496f0262a3f

libs.encodings: mime.unb64 is buggy with \0 should have been fixed
author Kim Alvefur <zash@zash.se>
date Tue, 25 Aug 2015 16:27:38 +0200
parent 130:5de7f66e4168
child 431:9d7a293849f3
comparison
equal deleted inserted replaced
390:7f535a1d5827 391:b496f0262a3f
5 local mime = require "mime"; 5 local mime = require "mime";
6 6
7 module "encodings" 7 module "encodings"
8 8
9 stringprep = {}; 9 stringprep = {};
10 base64 = { encode = mime.b64, decode = not_impl }; --mime.unb64 is buggy with \0 10 base64 = { encode = mime.b64, decode = mime.unb64 };
11 11
12 return _M; 12 return _M;