Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 chilling in the Monastery: (5)
As of 2014-12-23 01:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (133 votes), past polls