Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 15514 invoked by uid 500); 29 Jan 2003 12:21:39 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 15500 invoked from network); 29 Jan 2003 12:21:38 -0000 Date: 29 Jan 2003 12:23:03 -0000 Message-ID: <20030129122303.10939.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: cocoon-dev@xml.apache.org Cc: Subject: DO NOT REPLY [Bug 16537] New: - [PATCH] fixed redirect under JRun 3.1 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16537 [PATCH] fixed redirect under JRun 3.1 Summary: [PATCH] fixed redirect under JRun 3.1 Product: Cocoon 2 Version: Current CVS Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: core AssignedTo: cocoon-dev@xml.apache.org ReportedBy: durdina@asset.sk Proposed WebSphere 4.0/4.0.1 response.encodeRedirectURL() bug fix (by VG) doesn't work for JRun 3.1. It produces double base path fragment on the resulting URL, when it mistakenly assumes WS bug. I.e. for redirect to "../myfile.html" at "http://host/webapp/mydir/main.html" the result is "http://host/webapp/mydir/webapp/mydir/../myfile.html" on JRun. The patch adds additional check for output from encodeRedirectURL() and ONLY IF it actually does not contain expected base path, it adds one. --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org