I agree with Lucas! It's better to leave as it is!


On Wed, Mar 5, 2014 at 11:38 AM, Lucas Cavalcanti
<notifications@github.com>wrote:

> In
> vraptor-core/src/main/java/br/com/caelum/vraptor/observer/upload/DefaultMultipartConfig.java:
>
> > @@ -50,6 +50,11 @@ public long getSizeLimit() {
> >  	}
> >
> >  	@Override
> > +	public long getFileSizeLimit() {
> > +		return 2 * 1024 * 1024;
>
> It's kind of a security problem. If we leave this unlimited, someone can
> start 10 uploads with 2Gb and break the server.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/caelum/vraptor4/pull/423/files#r10301148>
> .
>



-- 
Rafael Ponte
http://cursos.triadworks.com.br