Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: XSS protection in CGI::Application

by jaldhar (Vicar)
on Mar 02, 2010 at 20:04 UTC ( #826248=note: print w/ replies, xml ) Need Help??


in reply to XSS protection in CGI::Application

To change the content-type, do this:

$self->header_add(content_type => 'text/html');

However I agree with skx about using AUTOLOAD for this purpose.

--
જલધર


Comment on Re: XSS protection in CGI::Application
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (15)
As of 2014-09-16 17:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (39 votes), past polls