cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18331] New: - LinkRewriterTransformer ignores exclude-schemes parameter
Date Tue, 25 Mar 2003 18:16:57 GMT
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: cocoon-dev@xml.apache.org
        ReportedBy: u.cei@cbim.it


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.

Mime
View raw message