Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 37068 invoked from network); 10 Jan 2007 09:45:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jan 2007 09:45:50 -0000 Received: (qmail 27437 invoked by uid 500); 10 Jan 2007 09:45:55 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 27395 invoked by uid 500); 10 Jan 2007 09:45:55 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 27384 invoked by uid 99); 10 Jan 2007 09:45:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jan 2007 01:45:55 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jan 2007 01:45:47 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 982927142CF for ; Wed, 10 Jan 2007 01:45:27 -0800 (PST) Message-ID: <8373334.1168422327601.JavaMail.jira@brutus> Date: Wed, 10 Jan 2007 01:45:27 -0800 (PST) From: "Carsten Ziegeler (JIRA)" To: dev@cocoon.apache.org Subject: [jira] Assigned: (COCOON-574) [PATCH] fixed redirect under JRun 3.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COCOON-574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler reassigned COCOON-574: --------------------------------------- Assignee: Carsten Ziegeler (was: Cocoon Developers Team) > [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