mturk       2002/11/15 00:10:20

  Modified:    jk/native2/common jk_uriMap.c
  Log:
  Restore the uri if no context found.
  XXX: I dont't like this jsessionid rewriting or uri made on const char.
  Can we use some temp pool or provide the buffer to the mapUri call.
  
  Revision  Changes    Path
  1.58      +2 -0      jakarta-tomcat-connectors/jk/native2/common/jk_uriMap.c
  
  Index: jk_uriMap.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_uriMap.c,v
  retrieving revision 1.57
  retrieving revision 1.58
  diff -u -r1.57 -r1.58
  --- jk_uriMap.c       22 Oct 2002 10:11:43 -0000      1.57
  +++ jk_uriMap.c       15 Nov 2002 08:10:19 -0000      1.58
  @@ -933,6 +933,8 @@
       ctxEnv = jk2_uriMap_prefixMap(env, uriMap, hostEnv->webapps, uri, uriLen);
   
       if (ctxEnv == NULL) {
  +        if (url_rewrite)
  +            *url_rewrite = origChar;
           env->l->jkLog(env, env->l, JK_LOG_INFO,
                         "uriMap.mapUri() no context %s\n", uri);    
           return NULL;
  
  
  

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

Reply via email to