1 Apr 2012 01:01
Re: code review 5975052: encoding/base64: fix panic when input len is not a mult... (issue 5975052)
I can add some test cases for strings like QQ=\n, but if there are no objections, I'd like to handle it on a separate CL. Sent from my iPad On 01/04/2012, at 8:56, David Symonds <dsymonds@...> wrote: > On Sun, Apr 1, 2012 at 2:58 AM, <sougou@...> wrote: > >> It seems like the code will not handle the case where there are line >> breaks within the paddings, like "=\n=". Is that considered invalid? > > Yeah, the previous code also broke on that. It's a bit fiddly to fix > that, and I'm not too sure whether it's worth trying, but that's > orthogonal to this CL.
RSS Feed