Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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.

--
જલધર