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 24318 invoked from network); 17 Aug 2000 16:52:11 -0000 Received: from unknown (HELO zephyr2.olrcorp.com) (208.45.158.61) by locus.apache.org with SMTP; 17 Aug 2000 16:52:11 -0000 Received: by oil-law61.oil-law.com with Internet Mail Service (5.5.2650.21) id ; Thu, 17 Aug 2000 11:54:33 -0500 Message-ID: From: Paul Lamb To: "'tomcat-dev@jakarta.apache.org'" Subject: Tomcat 32 Form Patch Date: Thu, 17 Aug 2000 11:54:32 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N I'd like to petition/beg that the 1.14 AccessInterceptor patch that fixed the query string problem with form based logins also be applied to the tomcat_32 branch. I don't think this will introduce any new problems. I've included the diff's from the current AccessInterceptor below. Paul Lamb Index: AccessInterceptor.java =================================================================== RCS file: /home/cvspublic/jakarta-tomcat/src/share/org/apache/tomcat/request/AccessInt erceptor.java,v retrieving revision 1.12.2.3 diff -u -r1.12.2.3 AccessInterceptor.java --- AccessInterceptor.java 2000/08/16 22:24:26 1.12.2.3 +++ AccessInterceptor.java 2000/08/17 16:47:57 @@ -465,10 +465,14 @@ return; } + String originalLocation = req.getRequestURI(); + if (req.getQueryString() != null) + originalLocation += "?" + req.getQueryString(); session.setAttribute( "tomcat.auth.originalLocation", - req.getRequestURI()); + originalLocation); if( debug > 0 ) log("Redirect1: " + page + " originalUri=" + req.getRequestURI()); + req.setAttribute("javax.servlet.error.message", page );