costin      01/02/08 23:47:49

  Modified:    src/share/org/apache/tomcat/core Request.java
  Log:
  Wrong test for POST.
  
  Revision  Changes    Path
  1.90      +2 -2      jakarta-tomcat/src/share/org/apache/tomcat/core/Request.java
  
  Index: Request.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/core/Request.java,v
  retrieving revision 1.89
  retrieving revision 1.90
  diff -u -r1.89 -r1.90
  --- Request.java      2001/02/07 07:01:23     1.89
  +++ Request.java      2001/02/09 07:47:48     1.90
  @@ -337,8 +337,8 @@
        if( ! methodMB.equalsIgnoreCase("POST") )
            return;
        String contentType= getContentType();
  -     if (contentType == null &&
  -            contentType.startsWith("application/x-www-form-urlencoded")) {
  +     if (contentType == null ||
  +            ! contentType.startsWith("application/x-www-form-urlencoded")) {
            return;
        }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to