keith       01/09/17 16:53:21

  Modified:    src/native/apache1.3 Tag: tomcat_32 mod_jk.c
  Log:
  Enable mod_rewrite by passing Apache's r->uri to Tomcat,
  but encode it for spec compliance.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.7.2.6   +1 -7      jakarta-tomcat/src/native/apache1.3/Attic/mod_jk.c
  
  Index: mod_jk.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/native/apache1.3/Attic/mod_jk.c,v
  retrieving revision 1.7.2.5
  retrieving revision 1.7.2.6
  diff -u -r1.7.2.5 -r1.7.2.6
  --- mod_jk.c  2001/06/19 22:44:57     1.7.2.5
  +++ mod_jk.c  2001/09/17 23:53:21     1.7.2.6
  @@ -358,13 +358,7 @@
       s->method       = (char *)r->method;
       s->content_length = get_content_length(r);
       s->query_string = r->args;
  -    s->req_uri      = r->unparsed_uri;
  -    if (s->req_uri != NULL) {
  -     char *query_str = strchr(s->req_uri, '?');
  -     if (query_str != NULL) {
  -         *query_str = 0;
  -     }
  -    }
  +    s->req_uri      = ap_escape_uri(r->pool, r->uri);
   
       s->is_ssl       = JK_FALSE;
       s->ssl_cert     = NULL;
  
  
  

Reply via email to