Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: Any security holes?

by LanX (Saint)
on Jun 26, 2022 at 21:51 UTC ( [id://11145100]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Any security holes?
in thread Any security holes?

> do you have a suggestion (example code) for that?

the synopsis of HTML::Entities has one

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

Replies are listed 'Best First'.
Re^4: Any security holes?
by Limbomusic (Acolyte) on Jun 26, 2022 at 22:37 UTC
    I don't know how or where to implement it in my .pl file, could u help? It seems that this would do the trick:  $encoded = encode_entities($input, '<>&"'); It seems this would negate all these characters and thats exactly what i want - but how?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-25 20:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found