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

solprovider edited comment on COCOON-1354 at 10/17/07 8:11 PM:
---------------------------------------------------------------

This is critical because Cocoon delivers bad information. Cocoon responds to 
bad requests with "200 OK".  One effect is search engine robots will 
continuously retry  bad URLs.  This is urgent because the problem has existed 
since before 2.1.6 and the patch has been available for at least two releases 
without being applied.

The workaround is a select statement with 53 cases if developers notice Cocoon 
is broken.

I successfully manually updated Cocoon-2.1.10 with the changes in this patch.

      was (Author: solprovider):
    This is critical because Cocoon delivers bad information. Cocoon responds 
to bad requests with "200 OK".  One effect is search engine robots will 
continuously retry  bad URLs.  This is urgent because the problem has existed 
since before 2.1.6 and the patch has been available for at least two releases 
without being applied.

I successfully manually updated Cocoon-2.1.10 with the changes in this patch.
  
> [Patch] status-code on serializer not expanding variables
> ---------------------------------------------------------
>
>                 Key: COCOON-1354
>                 URL: https://issues.apache.org/jira/browse/COCOON-1354
>             Project: Cocoon
>          Issue Type: Improvement
>          Components: - Components: Sitemap
>    Affects Versions: 2.1.6, 2.1.7, 2.1.8, 2.1.9, 2.1.10
>         Environment: Operating System: All
> Platform: All
>            Reporter: Jochen Seifarth
>            Assignee: Reinhard Poetz
>            Priority: Critical
>         Attachments: status-code.diff
>
>
> <map:serialize type="html" status-code="{sc}"/>
> does not return the resolved variable sc as HTTP status code but simply 
> returns
> 200 OK as HTTP code. Some applications may want to store the status code in a
> variable and pass this varibale to the serialzer, expecting it to expand it
> (Cocoon-Lenya is an example).
> Suggested enhancement patch to expand variables on the serializer is attached.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to