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 33662] New: - org.apache.cocoon.transformation.EncodeURLTransformer doesn't work
Date Sun, 20 Feb 2005 15:32:30 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33662>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33662

           Summary: org.apache.cocoon.transformation.EncodeURLTransformer
                    doesn't work
           Product: Cocoon 2
           Version: Current SVN 2.2
          Platform: Macintosh
        OS/Version: Mac OS X 10.0
            Status: NEW
          Severity: major
          Priority: P2
         Component: core
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: melowe@gmail.com


Not sure that EncodeURLTransformer is for xml/xslt with no xsp's in the mix, but it certainly
doesn't 
seem to, which is unforturnate as IMO url encoding is a baseline issue. Tested disabling cookies
and 
javascript and no session id or context path appending to links. Same issue with trunk (2.2),
2.1.6, 
running in jetty and tomcat. 

<map:transformer logger="sitemap.transformer.encodeURL" name="encodeURL" 
src="org.apache.cocoon.transformation.EncodeURLTransformer">
    	<include-name>.*/@href|.*/@action|frame/@src</include-name>
      	<exclude-name>img/@src</exclude-name>
</map:transformer>

...

<map:match pattern="foo">
    	<map:generate src="foo.xml" />
    	<map:transform src="foo.xsl" type="xslt" />
    	<map:transform src="foo.xsl" type="encodeURL" />
    	<map:serialize type="html" />
</map:match>

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Mime
View raw message