jholmes     2002/06/23 07:50:01

  Modified:    src/share/org/apache/struts/util Tag: STRUTS_1_0_BRANCH
                        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
  No                   revision
  
  
  No                   revision
  
  
  1.3.2.1   +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.3.2.1
  diff -u -r1.3 -r1.3.2.1
  --- ResponseUtils.java        13 Feb 2001 17:27:20 -0000      1.3
  +++ ResponseUtils.java        23 Jun 2002 14:50:01 -0000      1.3.2.1
  @@ -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]>

Reply via email to