From 2a234c6ec66821419c91da433e9584d22f4d2f05 Mon Sep 17 00:00:00 2001 From: Mladen Turk Date: Mon, 13 Sep 2004 11:36:24 +0000 Subject: [PATCH] Fix typo -- uri is constructed when there is no proxy in chain. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105110 13f79535-47bb-0310-9956-ffa450edef68 --- modules/proxy/proxy_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c index eddc08384c..cb3d4b1a15 100644 --- a/modules/proxy/proxy_util.c +++ b/modules/proxy/proxy_util.c @@ -1568,7 +1568,7 @@ ap_proxy_determine_connection(apr_pool_t *p, request_rec *r, * short living pool. */ /* are we connecting directly, or via a proxy? */ - if (proxyname) { + if (!proxyname) { *url = apr_pstrcat(p, uri->path, uri->query ? "?" : "", uri->query ? uri->query : "", uri->fragment ? "#" : "", -- 2.40.0