commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: [fileupload] towards 1.3 release - feedbacks required
Date Wed, 20 Mar 2013 14:42:09 GMT
On Wed, Mar 20, 2013 at 10:25 AM, Mark Thomas <markt@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-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message