Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: HTML::ENTITIES for URL encoding

by cheako (Beadle)
on Mar 05, 2015 at 04:00 UTC ( [id://1118827]=note: print w/replies, xml ) Need Help??


in reply to Re^2: HTML::ENTITIES for URL encoding
in thread HTML::ENTITIES for URL encoding

>"<script>alert(1212)< <--- In all likely hood this directory is not found, no Perl coding is necessary. Your web server will fail with a 404 file not found long before you get to run any Perl code.

We don't fix things using JavaScript here at the Monastery.
Read: next 7th line from the top is a great example.

And again it should be: http://example.com/"><script>alert(1212)</script> This is the solution you are looking for, nothing to do in either Perl or JS.

Log In?
Username:
Password:

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

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

    No recent polls found