You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2003/01/29 13:23:03 UTC

DO NOT REPLY [Bug 16537] New: - [PATCH] fixed redirect under JRun 3.1

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16537>.
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