HTML escape | URL escape | URL parameter escape | |
---|---|---|---|
Perl + CGI::Tiny | CGI::Tiny::escape_html() | ||
Perl + LWP | URI::Escape | ||
Perl + Plack | Plack::Util::encode_html() | URI::Escape | |
Perl + Dancer | Dancer::Error::_html_encode() | ||
PHP | htmlentities() | urlencode() | ? |
Javascript | 3rd-party function needed | encodeURI() | encodeURIComponent() |