Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: CGI::Application and CGI security

by Arunbear (Prior)
on Jun 30, 2004 at 15:32 UTC ( [id://370787]=note: print w/replies, xml ) Need Help??


in reply to CGI::Application and CGI security

You can overide CGI::Application's cgiapp_get_query() method like so:
sub cgiapp_get_query { my $self = shift; # Include CGI.pm and related modules require CGI; $CGI::DISABLE_UPLOADS = 1; # Disable uploads # Set Maximum number of bytes per post $CGI::POST_MAX = 1024; # Get the query object my $q = CGI->new(); return $q; }
:-)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2024-04-19 16:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found