On Wed, Mar 20, 2013 at 10:25 AM, Mark Thomas <ma...@apache.org> wrote:

> On 20/03/2013 01:09, sebb wrote:
> > I think QPD(ecode) is now OK; it handles lowercase hex and rejects
> > invalid characters.
> >
> > Base64Decode handles valid input OK, and rejects some invalid input,
> > but could perhaps do with tweaking to handle PAD characters better.
> > At present it treats an embedded PAD as the end of input (as per
> > Codec) but maybe it would be better to only allow 1 or 2 PADs at the
> > end?
>
> FYI
>
> Tomcat opted to bypass these Base64 issues but the solution requires
> Java 6 or later.
>
> http://svn.apache.org/viewvc?view=revision&revision=r1458726
>

Good one! I like the simplicity of that solution, I wonder if that will
work for [fileupload].

Gary

>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>


-- 
E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Reply via email to