<html>
<body>
<font size=3><br>
Thanks. HTML::Entities is what I needed. I didn't frame the question
correctly or use the correct terminology.<br>
I'm working on code to thwart Cross Site Scripting (XSS) into forms and
I'm finding there are a lot of ways to inject malicious code. Perl is
really the best way to deal with it.<br><br>
<br><br>
At 01:28 PM 8/31/2015, Doug Bell wrote:<br><br>
<blockquote type=cite class=cite cite="">Those are HTML entities (the
&...; bits), so the HTML::Entities module (part of the HTML::Parser
distribution) will do it for you<br><br>
Doug Bell<br>
<a href="mailto:madcityzen@gmail.com">madcityzen@gmail.com</a><br><br>
On Aug 31, 2015, at 1:01 PM, Jim Jacobus
<<a href="mailto:JJacobus@ponyx.com">JJacobus@ponyx.com</a>>
wrote:<br><br>
<blockquote type=cite class=cite cite=""><br>
I feel dumb for asking, but is there a quick way to convert:<br>
<code><br><br>
%#x3cIMG
SRC=&#106;&#97;&#118;&#97;&#115;&#99;&#114;&#105;&#112;&#116;&#58;&#97;&#108;&#101;&#114;&#116;&#40;
&#39;&#88;&#83;&#83;&#39;&#41;%#x3e<br><br>
</code><br>
to <br>
<code><br><br>
<IMG SRC=javascript:alert( 'XSS')> <br><br>
</code><br>
I thought there would be a cpan module for this.<br>
_______________________________________________<br>
Chicago-talk mailing list<br>
<a href="mailto:Chicago-talk@pm.org">Chicago-talk@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/chicago-talk" eudora="autourl">
http://mail.pm.org/mailman/listinfo/chicago-talk</a></blockquote>
_______________________________________________<br>
Chicago-talk mailing list<br>
Chicago-talk@pm.org<br>
<a href="http://mail.pm.org/mailman/listinfo/chicago-talk" eudora="autourl">
http://mail.pm.org/mailman/listinfo/chicago-talk</a></font></blockquote>
</body>
</html>