Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Using taint mode to prevent XSS holes

by IlyaM (Parson)
on Jan 06, 2003 at 23:10 UTC ( #224782=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    package Template::Secure;
        return $ret;
  2. or download this
    # a bit hacky way to redefine subs without modifying sources; this
    # code can be put directly into Template::Secure module
  3. or download this
    #!/usr/bin/perl -T
  4. or download this
    #!/usr/bin/perl -T
    Hello, [% HTML.escape(name) %]!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://224782]
Approved by adrianh
Front-paged by adrianh
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2015-11-27 10:52 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (724 votes), past polls