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