Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 4064 invoked from network); 5 Nov 2000 03:30:03 -0000 Received: from unknown (HELO s1.servlets.net) (root@209.221.135.4) by locus.apache.org with SMTP; 5 Nov 2000 03:30:03 -0000 Received: from gefionsoftware.com (lsanca1-ar8-070-065.biz.dsl.gtei.net [4.35.70.65]) by s1.servlets.net (8.9.3/8.9.3) with ESMTP id TAA13638 for ; Sat, 4 Nov 2000 19:29:58 -0800 Message-ID: <3A04D531.C894EF4B@gefionsoftware.com> Date: Sat, 04 Nov 2000 19:34:09 -0800 From: Hans Bergsten Organization: Gefion software X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en-US,en,sv MIME-Version: 1.0 To: tomcat-dev@jakarta.apache.org Subject: Re: HttpServletResponse.encodeURL is broken for relative URLs References: <01bf01c046d7$5e9f8740$140411ac@corp.bitmo.com> <3A04D223.320C4358@eng.sun.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N "Craig R. McClanahan" wrote: > [...] > It is not supposed to ignore them -- it is supposed to convert them to absolute > and then add the path parameter if: > - The host and port of the absolute URL > matches the original request > - The context path of the absolute URL > matches the original request > (i.e. the URL points back at this app) > > I will take a look - but in the past, this has seemed to work correctly. I just looked at the source used in Beta 6, and it appears to work as it should. That's also my experience from running Beta 6. Hans -- Hans Bergsten hans@gefionsoftware.com Gefion Software http://www.gefionsoftware.com