[Catalyst] Re: {OT] protecting against attacks with multilingual input

A. Pagaltzis pagaltzis at gmx.de
Tue Dec 5 21:28:48 GMT 2006


* Jonathan Rockway <jon at jrock.us> [2006-12-05 22:10]:
> You need to escape &, <, >, ", and '.

    s[([<>&"'])]{ '&#' . ord( $1 ) . ';' }ge;

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>



More information about the Catalyst mailing list