You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by or...@apache.org on 2001/04/04 09:33:32 UTC

cvs commit: httpd-2.0/modules/dav/main util.c

orlikowski    01/04/04 00:33:32

  Modified:    modules/dav/main util.c
  Log:
  Since ap_parse_uri_components() now guarantees port will be filled in,
  this is no longer needed in dav.
  
  Revision  Changes    Path
  1.25      +0 -4      httpd-2.0/modules/dav/main/util.c
  
  Index: util.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/dav/main/util.c,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- util.c	2001/03/28 07:37:25	1.24
  +++ util.c	2001/04/04 07:33:30	1.25
  @@ -211,10 +211,6 @@
       if (scheme == NULL)
   	scheme = ap_http_method(r);
   
  -    /* insert a port if the URI did not contain one */
  -    if (comp.port == 0)
  -	comp.port = ap_default_port_for_scheme(comp.scheme);
  -
       /* now, verify that the URI uses the same scheme as the current request.
          the port, must match our port.
          the URI must not have a query (args) or a fragment