Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 39023 invoked from network); 1 Nov 2005 15:08:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Nov 2005 15:08:32 -0000 Received: (qmail 63060 invoked by uid 500); 1 Nov 2005 15:08:28 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 63010 invoked by uid 500); 1 Nov 2005 15:08:28 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 62999 invoked by uid 99); 1 Nov 2005 15:08:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2005 07:08:27 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [209.133.192.6] (HELO devsys.jaguNET.com) (209.133.192.6) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2005 07:08:21 -0800 Received: (from jim@localhost) by devsys.jaguNET.com (8.11.7a/jag-2.6) id jA1F84w07592 for dev@httpd.apache.org; Tue, 1 Nov 2005 10:08:04 -0500 (EST) From: Jim Jagielski Message-Id: <200511011508.jA1F84w07592@devsys.jaguNET.com> Subject: Re: svn commit: r329849 - in /httpd/httpd/trunk: CHANGES modules/proxy/proxy_util.c To: dev@httpd.apache.org Date: Tue, 1 Nov 2005 10:08:00 -0500 (EST) Reply-To: jim@jaguNET.com In-Reply-To: from "Roy T. Fielding" at Nov 01, 2005 07:04:35 AM X-Mailer: ELM [version 2.5 PL5] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Roy T. Fielding wrote: > > > c = ap_strchr_c(url, ':'); > > if (c == NULL || c[1] != '/' || c[2] != '/' || c[3] == '\0') > > return NULL; > > BTW, unless url is somehow limited to http and ftp, the above > is bad code. The proxy should be able to handle arbitrary > schemes (eventually), which means requiring scheme://host > is bogus. > The current code does make that restriction, but yes, it may be too limiting... Of course, this means that the workers would also need to be not so restricted as well :) -- ======================================================================= Jim Jagielski [|] jim@jaguNET.com [|] http://www.jaguNET.com/ "If you can dodge a wrench, you can dodge a ball."