From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Mar 7 09:10:07 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA6DF106566B for ; Wed, 7 Mar 2012 09:10:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AE1718FC15 for ; Wed, 7 Mar 2012 09:10:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q279A6Dv040895 for ; Wed, 7 Mar 2012 09:10:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q279A6iC040894; Wed, 7 Mar 2012 09:10:06 GMT (envelope-from gnats) Resent-Date: Wed, 7 Mar 2012 09:10:06 GMT Resent-Message-Id: <201203070910.q279A6iC040894@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, freebsd@nagilum.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0E8201065675; Wed, 7 Mar 2012 09:05:00 +0000 (UTC) (envelope-from nagilum@cakebox.homeunix.net) Received: from mo-p05-ob6.rzone.de (mo-p05-ob6.rzone.de [IPv6:2a01:238:20a:202:53f5::1]) by mx1.freebsd.org (Postfix) with ESMTP id 356088FC12; Wed, 7 Mar 2012 09:04:58 +0000 (UTC) Received: from cakebox.homeunix.net (dslb-188-105-064-134.pools.arcor-ip.net [188.105.64.134]) by smtp.strato.de (klopstock mo29) (RZmta 27.7 DYNA|AUTH) with (EDH-RSA-DES-CBC3-SHA encrypted) ESMTPA id u00996o278PHwf ; Wed, 7 Mar 2012 10:04:53 +0100 (MET) Received: from cakebox.homeunix.net (localhost [127.0.0.1]) by cakebox.homeunix.net (Postfix) with ESMTP id E6875678F4; Wed, 7 Mar 2012 10:04:38 +0100 (CET) Received: by cakebox.homeunix.net (Postfix, from userid 1000) id 4B7A0678B9; Wed, 7 Mar 2012 10:04:37 +0100 (CET) Message-Id: <20120307090437.4B7A0678B9@cakebox.homeunix.net> Date: Wed, 7 Mar 2012 10:04:37 +0100 (CET) From: freebsd@nagilum.org To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Clement Laforet Subject: ports/165809: add mod_proxy patch to apache-2.2.22_5 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2012 09:10:07 -0000 >Number: 165809 >Category: ports >Synopsis: add mod_proxy patch to apache-2.2.22_5 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Mar 07 09:10:06 UTC 2012 >Closed-Date: >Last-Modified: >Originator: freebsd@nagilum.org >Release: FreeBSD 9.0-STABLE i386 >Organization: >Environment: System: FreeBSD cakebox.tis 9.0-STABLE FreeBSD 9.0-STABLE #0: Mon Feb 27 09:34:17 CET 2012 root@cakebox.tis:/usr/obj/export/src/sys/net5501 i386 >Description: The attached patch to the port adds another patch to the "files/" directory. The patch fixes a regression in the handling of ProxyPassReverse in connection with and . The patch is a straight copy of the patch from https://issues.apache.org/bugzilla/show_bug.cgi?id=38864 >How-To-Repeat: >Fix: Apply attached patch. --- ap.patch begins here --- diff -Naur apache22.bak/files/patch-modules__proxy__proxy_util.c apache22/files/patch-modules__proxy__proxy_util.c --- apache22.bak/files/patch-modules__proxy__proxy_util.c 1970-01-01 01:00:00.000000000 +0100 +++ apache22/files/patch-modules__proxy__proxy_util.c 2012-03-06 22:46:13.000000000 +0100 @@ -0,0 +1,21 @@ +Index: modules/proxy/proxy_util.c +=================================================================== +--- modules/proxy/proxy_util.c (revision 893855) ++++ modules/proxy/proxy_util.c (working copy) +@@ -1117,6 +1117,16 @@ + } + else { + l2 = strlen(real); ++ if (real[0] == '/') { ++ const char *part = strstr(url, "://"); ++ if (part) { ++ part = strstr(part+3, "/"); ++ if (part) { ++ url = part; ++ l1 = strlen(url); ++ } ++ } ++ } + if (l1 >= l2 && strncasecmp(real, url, l2) == 0) { + u = apr_pstrcat(r->pool, ent[i].fake, &url[l2], NULL); + return ap_construct_url(r->pool, u, r); --- ap.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: