[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-modperl-cvs
Subject: cvs commit: modperl/Util Util.pm
From: dougm () apache ! org
Date: 2002-03-26 14:56:15
[Download RAW message or body]
dougm 02/03/26 06:56:15
Modified: Util Util.pm
Log:
Submitted by: Eric Cholet, Robin Berjon
Reviewed by: dougm
doc: Apache::Util::escape_html is only meant to escape US-ASCII text
Revision Changes Path
1.9 +4 -0 modperl/Util/Util.pm
Index: Util.pm
===================================================================
RCS file: /home/cvs/modperl/Util/Util.pm,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- Util.pm 4 Mar 2000 20:55:47 -0000 1.8
+++ Util.pm 26 Mar 2002 14:56:15 -0000 1.9
@@ -68,6 +68,10 @@
my $esc = Apache::Util::escape_html($html);
+This function will correctly escape US-ASCII output. If you are using
+a different character set such as UTF8, or need more control on
+the escaping process, use HTML::Entities.
+
=item escape_uri
This function replaces all unsafe characters in the $string with their
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic