Rodney,
Thanks for the pointer to the patch. This will solve the infinite redirect problem but begs the question of whether DynamicURI should generate absolute URLs. I'm still puzzled whether encodeURL(absoluteURL) should be in the business of figuring out whether absoluteURL refers to THIS-SERVLET. In tomcat 4.0.1, it is in this business and if the logic concludes that the absoluteURL is not THIS-SERVLET, then it doesn't encode the session id. Unfortunately, figuring out whether the absoluteURL is THIS-SERVLET appears to be a difficult task, complicated by virtual hosts, virtual posts, and apache-tomcat connectors. Is it a correct conclusion that it is a bad idea to use encodeURL on absolute URL's? -Nick >Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm >List-Unsubscribe: <mailto:[EMAIL PROTECTED]> >List-Subscribe: <mailto:[EMAIL PROTECTED]> >List-Help: <mailto:[EMAIL PROTECTED]> >List-Post: <mailto:[EMAIL PROTECTED]> >List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> >Delivered-To: mailing list [EMAIL PROTECTED] >From: Rodney Schneider <[EMAIL PROTECTED]> >To: "Turbine Users List" <[EMAIL PROTECTED]> >Subject: Re: infinite redirect with tomcat 4.0.1, apache, cookies disabled >Date: Tue, 22 Jan 2002 15:32:10 +1100 >MIME-Version: 1.0 >Content-Transfer-Encoding: 8bit >X-Spam-Rating: 64.125.133.20 1.6.2 0/1000/N > > >Hi Nick! > >Please see this post for a patch to fix this problem: > ><http://www.mail-archive.com/[email protected]/msg03660.html> > >> I've noticed in turbine 3.x that DynamicURI has been changed >> to support relative URL's, but that the default behavior is still >> to generate an absolute URL. I've also noticed that the redirect >> logic has been removed. I wonder if these steps were taken because >> you guys were trying to address the above problem. > >The redirect logic should have been removed from Turbine 2.x a long time >ago... I am not really sure why no-one has commited this patch yet, I have >been using a patched version of Turbine for development purposes without a >hiccup. > >Regards, > >-- Rodney > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
