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=18331>.
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=18331

LinkRewriterTransformer ignores exclude-schemes parameter

           Summary: LinkRewriterTransformer ignores exclude-schemes
                    parameter
           Product: Cocoon 2
           Version: Current CVS
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: sitemap components
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The LinkRewriterTransformer ignores exclude-schemes parameter and logs an error
whenever an HTTP URL is encountered as the value of an href attribute.
The bug is due to the fact that parameters to the getParameters and split
methods are swapped. I am attaching a patch that fixes it. Moreover, I've added
"ftp", "mailto" and "news" to the schemes that are excluded by default.

Reply via email to