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 29789 invoked from network); 21 Nov 2000 03:02:47 -0000 Received: from mercury.sun.com (192.9.25.1) by locus.apache.org with SMTP; 21 Nov 2000 03:02:47 -0000 Received: from taller.eng.sun.com ([129.144.124.34]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id TAA23351 for ; Mon, 20 Nov 2000 19:02:47 -0800 (PST) Received: from eng.sun.com (d-ucup02-251-148 [129.144.251.148]) by taller.eng.sun.com (8.9.3+Sun/8.9.3/ENSMAIL,v1.7) with ESMTP id TAA09733 for ; Mon, 20 Nov 2000 19:02:47 -0800 (PST) Message-ID: <3A19E62C.D6F8BCCA@eng.sun.com> Date: Mon, 20 Nov 2000 19:04:12 -0800 From: "Craig R. McClanahan" X-Mailer: Mozilla 4.75 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: tomcat-dev@jakarta.apache.org Subject: Re: cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/facade HttpServletResponseFacade.java References: <20001120235944.34281.qmail@locus.apache.org> <3A19E451.58FC50FF@gefionsoftware.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hans Bergsten wrote: > craigmcc@locus.apache.org wrote: > > > > craigmcc 00/11/20 15:59:43 > > > > Modified: src/share/org/apache/tomcat/facade Tag: tomcat_32 > > HttpServletResponseFacade.java > > Log: > > Intra-document references (i.e. relative urls starting with "#") never > > need to be encoded. > > I'm not sure I follow th logic here; why don't they have to be encoded? > Even this type of reference results in a new request to the server > when a user clicks on it, so I assume the new request must include > the session ID for session tracking to work. > According to the URI RFC (2316?), a relative URI like this: Go to foo on this page should not generate a new request. That also reflects my experience with them. Therefore, they need not be URL encoded. (And, for good measure, where would you put the ";jsessionid=xxx" anyway, since the #foo part is supposed to go last?) > > Hans Craig