[ http://issues.apache.org/jira/browse/COCOON-574?page=all ]
Vadim Gritsenko updated COCOON-574: ----------------------------------- Bugzilla Id: (was: 16537) Affects Version/s: 2.1.10-dev (current SVN) > [PATCH] fixed redirect under JRun 3.1 > ------------------------------------- > > Key: COCOON-574 > URL: http://issues.apache.org/jira/browse/COCOON-574 > Project: Cocoon > Issue Type: Bug > Components: * Cocoon Core > Affects Versions: 2.0.5-dev (Current CVS), 2.1.10-dev (current SVN) > Environment: Operating System: All > Platform: All > Reporter: Michal Durdina > Assigned To: Cocoon Developers Team > Attachments: HttpEnvironment.java.diff, release_2_1_5_1.patch_3.txt > > > 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. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira