tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_uriEnv.c
Date Thu, 30 Oct 2003 20:10:17 GMT
mturk       2003/10/30 12:10:17

  Modified:    jk/native2/common jk_uriEnv.c
  Log:
  Fix the prefix mapping bug
  
  Revision  Changes    Path
  1.51      +2 -1      jakarta-tomcat-connectors/jk/native2/common/jk_uriEnv.c
  
  Index: jk_uriEnv.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_uriEnv.c,v
  retrieving revision 1.50
  retrieving revision 1.51
  diff -u -r1.50 -r1.51
  --- jk_uriEnv.c	25 Sep 2003 15:23:22 -0000	1.50
  +++ jk_uriEnv.c	30 Oct 2003 20:10:17 -0000	1.51
  @@ -445,6 +445,7 @@
   
       if (uri[strlen(uri) - 1] == '*') {
           /* context based /context/prefix/ASTERISK  */
  +        uri[strlen(uri) - 1] = '\0';
           uriEnv->suffix      = NULL;
           uriEnv->prefix      = uri;
           uriEnv->prefix_len  =strlen( uriEnv->prefix );
  @@ -522,7 +523,7 @@
        * so that global mappings are always present
        * on each vhost, instead of explicitly defined.
        */
  -#if 0
  +#if 1
       uriEnv->inherit_globals = 1;
   #endif
   
  
  
  

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


Mime
View raw message