jholmes 2002/06/23 07:43:15
Modified: src/share/org/apache/struts/util ResponseUtils.java
Log:
Updated JavaDocs to reflect that apostrophes won't be encoded.
PR: Bugzilla #4776
Submitted by: Jon Ribbens <jon+apache-bugzilla at unequivocal.co.uk>
Revision Changes Path
1.4 +10 -4
jakarta-struts/src/share/org/apache/struts/util/ResponseUtils.java
Index: ResponseUtils.java
===================================================================
RCS file:
/home/cvs/jakarta-struts/src/share/org/apache/struts/util/ResponseUtils.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ResponseUtils.java 13 Feb 2001 17:27:20 -0000 1.3
+++ ResponseUtils.java 23 Jun 2002 14:43:15 -0000 1.4
@@ -101,6 +101,12 @@
* Filter the specified string for characters that are senstive to
* HTML interpreters, returning the string with these characters replaced
* by the corresponding character entities.
+ * <strong>Please Note:</strong> Apostrpohes (') will not be encoded since
+ * there is not a way to determine whether a left or right apostrophen was
+ * intended. See the following link for more details on HTML encodings:
+ * <a href="http://www.htmlhelp.com/reference/html40/entities/special.html">
+ *http://www.htmlhelp.com/reference/html40/entities/special.html</a>.
+ *
*
* @param value The string to be filtered and returned
*/
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>