[PATCH] Increase the max size allowed for upload to 25Kb

Pierre-Yves Chibon pingou at pingoured.fr
Wed Feb 25 14:49:45 UTC 2015


On Wed, Feb 25, 2015 at 09:46:32AM -0500, Chuck Anderson wrote:
> On Wed, Feb 25, 2015 at 03:44:27PM +0100, Pierre-Yves Chibon wrote:
> > diff --git a/roles/kerneltest/templates/kerneltest.cfg b/roles/kerneltest/templates/kerneltest.cfg
> > index 6552cb1..e15785e 100644
> > --- a/roles/kerneltest/templates/kerneltest.cfg
> > +++ b/roles/kerneltest/templates/kerneltest.cfg
> > @@ -26,7 +26,7 @@ ADMIN_GROUP = ['sysadmin-kernel', 'sysadmin-main']
> >  ALLOWED_MIMETYPES = ['text/plain', 'text/x-log']
> >  
> >  # Restrict the size of content uploaded, this is 10Kb
> > -MAX_CONTENT_LENGTH = 1024 * 10
> > +MAX_CONTENT_LENGTH = 1024 * 25
> 
> You should probably also change the comment to match...

Good point, I'll do that in a second commit (that I'll push at the same time if
I get 2 +1).

Thanks,
Pierre


More information about the infrastructure mailing list