Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Any security holes?

by AnomalousMonk (Archbishop)
on Jun 27, 2022 at 13:59 UTC ( [id://11145113]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $nick = $cgi->param('nick');
    ...
    ...
    my $nick = encode_entities($nick, '<>&"');
    ...
    my $wpage = encode_entities($wpage, '<>&"');
    
  2. or download this
    my ($nick, $pic, $say, $likes, $fav, $car, $age, $town, $drink, $wpage
    +)
    = map { encode_entities($cgi->param($_), '<>&"') }
    qw ( nick   pic   say   likes   fav   car   age   town   drink   wpage
    +);
    
  3. or download this
    use constant CGI_PARAMS => qw(
        nick pic say likes fav car age town drink wpage
    ...
    <b><a href='$param{'wpage'}'>$param{'wpage'}</a></b>
    <HR color=#008000 SIZE=2>
    EOHTML
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-19 20:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found