Do you know where your variables are? | |
PerlMonks |
Re: Re^2: hash collision DOS (CGI.pm protection)by Jenda (Abbot) |
on Jun 03, 2003 at 10:36 UTC ( [id://262618]=note: print w/replies, xml ) | Need Help?? |
PodMaster is right. ->delete() comes too late. And even the $CGI::POST_MAX doesn't help much. Imagine you have a file upload script. There you need to keep the $CGI::POST_MAX rather high so they may be able to post quite a few CGI parameters. And then even the creation of the hash that CGI.pm uses to store data may take a lot of time. And the grep and delete would only make the issue worse. Jenda Edit by castaway: Closed small tag in signature
In Section
Seekers of Perl Wisdom
|
|