akosut      96/04/03 00:19:50

  Modified:    src       http_protocol.c
  Log:
  Fix bug in full-URI parsing code that caused it to get the hostname
  incorrectly.
  
  Revision  Changes    Path
  1.17      +1 -4      apache/src/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/http_protocol.c,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -C3 -r1.16 -r1.17
  *** http_protocol.c   1996/04/02 14:10:25     1.16
  --- http_protocol.c   1996/04/03 08:19:49     1.17
  ***************
  *** 269,278 ****
      /* Find the port */
      host = getword(r->pool, &name, ':');
      if (*name) port = atoi(name);
  !   else {
  !     host = name;
  !     port = 80;
  !   }
    
      /* Make sure ports patch */
      if (port != r->server->port) return uri;
  --- 269,275 ----
      /* Find the port */
      host = getword(r->pool, &name, ':');
      if (*name) port = atoi(name);
  !   else port = 80;
    
      /* Make sure ports patch */
      if (port != r->server->port) return uri;
  
  
  

Reply via email to