[Seaside] Re: need advice on application
Sven Van Caekenberghe
sven at stfx.eu
Fri Jan 16 14:02:54 UTC 2015
> On 16 Jan 2015, at 14:55, Sanjay Minni <sm at planage.com> wrote:
>
> thanks,
>
> any side-effects / recommendations / best practices in making
> ZnMultiValueDictionary>>#defaultLimit
> unlimited ?
It is/was an attack vector to crash a web server.
I would just make it large enough for your purposes.
> and can you pls help with the setting to remove the development toolbar at
> the bottom - I am unable to locate it in the manual
WAAdmin class>>#disableDevelopmentTools ?
> regards
> Sanjay
>
>
>
> Sven Van Caekenberghe-2 wrote
>>> On 16 Jan 2015, at 14:38, Sanjay Minni <
>
>> sm@
>
>> > wrote:
>>>
>>> Here is the advice I am looking for.
>>> 1. Most important after I add longish schedule (its can be done thru the
>>> bottom panel) I get an error -> Bad Request ZnTooManyDictionaryEntries.
>>> What
>>> does it mean and how to break out of it.
>>
>> This probably means you have more than 256 inputs in a form.
>>
>> ZnMultiValueDictionary>>#defaultLimit
>> "Return the maximum number dictionary entries to accept.
>> Used by ZnMultiValueDictionary and thus for reading headers,
>> url query and application form url encoded entity fields.
>> This helps to protect us from malicious content."
>>
>> ^ 256
>>
>> You could overwrite this method to raise the limit. Return nil to make it
>> unlimited.
>>
>> Sven
>>
>> _______________________________________________
>> seaside mailing list
>
>> seaside at .squeakfoundation
>
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
>
>
>
> -----
> ---
> Regards, Sanjay
> --
> View this message in context: http://forum.world.st/need-advice-on-application-tp4799886p4799894.html
> Sent from the Seaside General mailing list archive at Nabble.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