Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 30185 invoked from network); 15 Nov 2000 18:22:00 -0000 Received: from fw.infoplanning.net (HELO infoplanning.com) (@209.8.58.131) by locus.apache.org with SMTP; 15 Nov 2000 18:22:00 -0000 Received: (qmail 15921 invoked from network); 15 Nov 2000 18:23:03 -0000 Received: from unknown (HELO johnnybravo) (192.168.0.189) by inet with SMTP; 15 Nov 2000 18:23:03 -0000 Message-ID: <003901c04f30$b1a2e0c0$bd00a8c0@infoplanning.com> From: "Berin Loritsch" To: Subject: Mixed metaphores with URI matching Date: Wed, 15 Nov 2000 13:20:11 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N In trying to resolve some issues regarding finding the uri that we are looking at, I noticed that we are using many different methods. In CocoonServlet we have getRequestURI, getServletPath, and getPathInfo. The URI we match against is: getServletPath + getPathInfo. The WildCardURIMatcher and RegexpURIMatcher both check against getRequestURI. We need to standardize on one method. I believe that semantically, we really only need to worry about getPathInfo. That is the part of the URI that Cocoon has to act on. --------------------------------------- If you lust for Ham and Eggs, you have committed breakfast in your heart already. -- C. S. Lewis