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=26851>. 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=26851 [PATCH] LinkStatusGenerator, incorrect link content type check Summary: [PATCH] LinkStatusGenerator, incorrect link content type check Product: Cocoon 2 Version: 2.1.3 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: sitemap components AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] when trying out the link status sample under Tomcat I only get the status of the starting link. when checking the link content type an exact string match is done. but (as in my case) e.g. the charset might also be added by the container to the content type and leads the comparison to fail. the attached patch simply changes equals() to startsWith() when comparing.