tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@locus.apache.org
Subject cvs commit: jakarta-tomcat/src/native/jk jk_ajp13.c
Date Sat, 04 Nov 2000 23:48:12 GMT
craigmcc    00/11/04 15:48:12

  Modified:    src/native/jk Tag: tomcat_32 jk_ajp13.c
  Log:
  Fix a bug in "jk_ajp13.c" that caused the "Authorization" header to be
  incorrectly transmitted to Tomcat as an "Accept-Language" header.
  
  I DO NOT HAVE REASONABLE FACILITIES TO TEST THIS PATCH - PLEASE TRY IT OUT.
  
  Submitted by: Sergejs Suskovs <sergejs.suskovs@linkedwith.com>
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.5.2.2   +2 -2      jakarta-tomcat/src/native/jk/Attic/jk_ajp13.c
  
  Index: jk_ajp13.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/native/jk/Attic/jk_ajp13.c,v
  retrieving revision 1.5.2.1
  retrieving revision 1.5.2.2
  diff -u -r1.5.2.1 -r1.5.2.2
  --- jk_ajp13.c	2000/09/13 23:06:25	1.5.2.1
  +++ jk_ajp13.c	2000/11/04 23:48:11	1.5.2.2
  @@ -56,7 +56,7 @@
   /***************************************************************************
    * Description: Experimental bi-directionl protocol handler.               *
    * Author:      Gal Shachor <shachor@il.ibm.com>                           *
  - * Version:     $Revision: 1.5.2.1 $                                           *
  + * Version:     $Revision: 1.5.2.2 $                                           *
    ***************************************************************************/
   
   
  @@ -243,7 +243,7 @@
                       return JK_FALSE;
                   }
               } else if(!strcmp(header_name, "authorization")) {
  -                *sc = SC_ACCEPT_LANGUAGE;
  +                *sc = SC_AUTHORIZATION;
               } else {
                   return JK_FALSE;
               }
  
  
  

Mime
View raw message