aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test/base64_SUITE.erl
AgeCommit message (Collapse)Author
2011-02-17Update stdlib tests to conform with common_test standardLukas Larsson
2011-01-17Removed use of deprecated function sizeIngela Anderton Andin
2010-12-07Improve pad character handling in base64 MIME decoding functionsThomas O'Dowd
Implement the 'MAY' clauses from RFC4648 regarding the pad character to make mime_decode() and mime_decode_to_string() functions more tolerant of badly padded base64. The RFC is quoted below for easy reference. RFC4648 Section 3.3 with reference to MIME decoding: Furthermore, such specifications MAY ignore the pad character, "=", treating it as non-alphabet data, if it is present before the end of the encoded data. If more than the allowed number of pad characters is found at the end of the string (e.g., a base 64 string terminated with "==="), the excess pad characters MAY also be ignored.
2009-11-20The R13B03 release.OTP_R13B03Erlang/OTP