tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11 Http11Processor.java
Date Sat, 04 Jan 2003 10:34:19 GMT
remm        2003/01/04 02:34:19

  Modified:    http11/src/java/org/apache/coyote/http11
                        Http11Processor.java
  Log:
  - The check on the first byte should also be case insensitive.
  
  Revision  Changes    Path
  1.55      +1 -1      jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Processor.java
  
  Index: Http11Processor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Processor.java,v
  retrieving revision 1.54
  retrieving revision 1.55
  diff -u -r1.54 -r1.55
  --- Http11Processor.java	4 Jan 2003 10:00:40 -0000	1.54
  +++ Http11Processor.java	4 Jan 2003 10:34:19 -0000	1.55
  @@ -1282,7 +1282,7 @@
   	int srcEnd = b.length;
           
   	for (int i = start; i <= (end - srcEnd); i++) {
  -	    if (buff[i] != first) continue;
  +	    if (Ascii.toLower(buff[i]) != first) continue;
   	    // found first char, now look for a match
               int myPos = i+1;
   	    for (int srcPos = 1; srcPos < srcEnd; ) {
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message