marcsaeg    01/10/05 14:03:54

  Modified:    src/share/org/apache/tomcat/util Tag: tomcat_32
                        RequestUtil.java
  Log:
  Updated comments for URLDecode().
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.14.2.8  +5 -1      
jakarta-tomcat/src/share/org/apache/tomcat/util/Attic/RequestUtil.java
  
  Index: RequestUtil.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/Attic/RequestUtil.java,v
  retrieving revision 1.14.2.7
  retrieving revision 1.14.2.8
  diff -u -r1.14.2.7 -r1.14.2.8
  --- RequestUtil.java  2001/10/05 18:12:33     1.14.2.7
  +++ RequestUtil.java  2001/10/05 21:03:54     1.14.2.8
  @@ -277,7 +277,11 @@
       }
   
       /**
  -     * This method decodes the given urlencoded string.
  +     * This method decodes the given urlencoded string.  Note that 'special' 
characters
  +     * /, \, %, . and \0 are *NOT* decoded.  The /, % and . characters are reserved 
by the
  +     * URL specification and may only be used in URLs for their reserved purpose in 
their
  +     * unencoded form.  The \ and \0 characters are prohibited to avoide security 
problems
  +     * some platforms.
        *
        * @param  str the url-encoded string
        * @return the decoded string
  
  
  


Reply via email to