[Seaside] Large text areas form submission and web server limits

Sven Van Caekenberghe sven at stfx.eu
Tue Feb 3 19:08:01 UTC 2015

Hi Mariano,

It is like it says in the comments: there are a couple of resource limits that the server uses to protect itself (line length, number of headers, entity size). You can safely raise them if you need to.

The risk ? 

Someone sending a 1Gb text field and crashing the server ;-)

Now there is a big difference between 4Kb and say 1Mb. It is your call.


> On 03 Feb 2015, at 19:53, Mariano Martinez Peck <marianopeck at gmail.com> wrote:
> Hi guys,
> In my app, I have a form that the user can submit and such a form has a text area where the user enters Notes. So far it was working correct but today I tried a more or less long note (not too much) and I get a Zinc ZnLineTooLong. Currently it has 4K:
> ZnConstants maximumLineLength -> 4096
> Now...first let me ask...I am doing this correct? do I have a workaround? 
> If not, should I increase this? Zinc seems easy. But then I should also change Nginx I think I should do this: http://stackoverflow.com/questions/1067334/how-to-set-the-allowed-url-length-for-a-nginx-request-error-code-414-uri-too
> Is this correct? is there some security trade off here?
> Thanks in advance, 
> -- 
> Mariano
> http://marianopeck.wordpress.com
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

More information about the seaside mailing list