tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/core Request.java
Date Fri, 09 Feb 2001 07:47:49 GMT
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;
   	}
   
  
  
  

Mime
View raw message