You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2007/01/10 10:45:27 UTC

[jira] Commented: (COCOON-574) [PATCH] fixed redirect under JRun 3.1

    [ https://issues.apache.org/jira/browse/COCOON-574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463511 ] 

Carsten Ziegeler commented on COCOON-574:
-----------------------------------------

Is this still an issue?
If I get no response in the next weeks, I'll close this bug with "wont fix"

> [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