cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cédric Damioli (Closed) (JIRA) <j...@apache.org>
Subject [jira] [Closed] (COCOON-2321) Unable to permanently redirect the client (eg. with an HTTP code 301) from inside a cocoon:// redirection
Date Tue, 10 Apr 2012 08:46:13 GMT

     [ https://issues.apache.org/jira/browse/COCOON-2321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Cédric Damioli closed COCOON-2321.
----------------------------------

    Resolution: Fixed
      Assignee: Cédric Damioli

Committed in revision 1303826
                
> Unable to permanently redirect the client (eg. with an HTTP code 301) from inside a cocoon://
redirection
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: COCOON-2321
>                 URL: https://issues.apache.org/jira/browse/COCOON-2321
>             Project: Cocoon
>          Issue Type: Bug
>          Components: * Cocoon Core
>    Affects Versions: 2.1.11
>            Reporter: Cédric Damioli
>            Assignee: Cédric Damioli
>             Fix For: 2.1.12-dev (Current SVN)
>
>
> When inside a internal (cocoon://) redirection, the actual Environment is wrapped inside
an EnvironmentWrapper which does not implement PermanentRedirector, so all redirections go
through the redirect() method, which finally ends up in the redirect() method of the actual
Environment, which issues a 302 status code in the case of the HttpEnvironment
> I propose to make EnvironmentWrapper implement PermanentRedirector and handle this case
in the Cocoon core, to be able to also issue 301 HTTP responses.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message