[ https://issues.apache.org/jira/browse/COCOON-574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed COCOON-574. ----------------------------------- Resolution: Won't Fix Thanks for the info! > [PATCH] fixed redirect under JRun 3.1 > ------------------------------------- > > Key: COCOON-574 > URL: https://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 > Environment: Operating System: All > Platform: All > Reporter: Michal Durdina > Assigned To: Carsten Ziegeler > 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: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira