Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 cooling their heels in the Monastery: (13)
As of 2014-07-29 16:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (223 votes), past polls