Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Re^2: hash collision DOS (CGI.pm protection)

by PodMaster (Abbot)
on Jun 03, 2003 at 04:01 UTC ( #262559=note: print w/ replies, xml ) Need Help??


in reply to Re^2: hash collision DOS (CGI.pm protection)
in thread hash collision DOS

Calling delete would happen after the problem has already occured. I concur, if $ENV{QUERY_STRING} length bothers you, simply cut it down (same goes for POST_MAX).

I do feel a nice addition would be a something like

acceptOnly( thesekeys => qw[ these keys ] ); acceptOnly( thismanykeys => 44 );
This would be trivial to add ... just a thought


MJD says you can't just make shit up and expect the computer to know what you mean, retardo!
I run a Win32 PPM repository for perl 5.6x+5.8x. I take requests.
** The Third rule of perl club is a statement of fact: pod is sexy.


Comment on Re: Re^2: hash collision DOS (CGI.pm protection)
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://262559]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2015-07-03 02:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (47 votes), past polls