]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Check all IP addresses listed in ProxyBlock
authorNick Kew <niq@apache.org>
Sat, 8 Sep 2007 21:43:47 +0000 (21:43 +0000)
committerNick Kew <niq@apache.org>
Sat, 8 Sep 2007 21:43:47 +0000 (21:43 +0000)
PR 36987

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@573911 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
modules/proxy/proxy_util.c

diff --git a/CHANGES b/CHANGES
index 3eccf04be511dffecb12cdda99ea63eb388c06ac..7c1a1d0f0c1cfba5b912e6b43673b48014def46c 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,9 @@
 Changes with Apache 2.3.0
 [ When backported to 2.2.x, remove entry from this file ]
 
+  *) mod_proxy: check ProxyBlock for all blocked addresses
+     PR 36987 [Timo Viipuri <timo.viipuri f-secure.com>]
+
   *) mod_proxy: Don't lose bytes when a response line arrives in small chunks.
      PR 40894 [Andrew Rucker Jones <arjones simultan.dyndns.org>]
 
index 6a7e9daef91b32bab28f6f0a5560f2851a55f198..17085ac5c50e94c91224c56dde2732c5b7c4cd13 100644 (file)
@@ -906,6 +906,7 @@ PROXY_DECLARE(int) ap_proxy_checkproxyblock(request_rec *r, proxy_server_conf *c
             return HTTP_FORBIDDEN;
         }
         while (conf_addr) {
+            uri_addr = src_uri_addr;
             while (uri_addr) {
                 char *conf_ip;
                 char *uri_ip;