From 3cea69c4d1a6ccd2ef7fa8f036d59fdb9547ac2d Mon Sep 17 00:00:00 2001 From: "Victor J. Orlikowski" Date: Wed, 4 Apr 2001 07:33:30 +0000 Subject: [PATCH] Since ap_parse_uri_components() now guarantees port will be filled in, this is no longer needed in dav. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88718 13f79535-47bb-0310-9956-ffa450edef68 --- modules/dav/main/util.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/dav/main/util.c b/modules/dav/main/util.c index 7c3d844a8b..ea535fee94 100644 --- a/modules/dav/main/util.c +++ b/modules/dav/main/util.c @@ -211,10 +211,6 @@ dav_lookup_result dav_lookup_uri(const char *uri, request_rec * r) 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 -- 2.50.1