[ http://issues.apache.org/jira/browse/COCOON-1451?page=all ]

Pier Fumagalli updated COCOON-1451:
-----------------------------------


Reverting status to "NEEDFORINFO" as this was not imported from BugZilla.

> o.a.c.transformation.EncodeURLTransformer doesn't work
> ------------------------------------------------------
>
>          Key: COCOON-1451
>          URL: http://issues.apache.org/jira/browse/COCOON-1451
>      Project: Cocoon
>         Type: Bug
>   Components: core
>     Versions: Current SVN 2.2
>  Environment: Operating System: Mac OS X 10.0
> Platform: Macintosh
>     Reporter: Mark
>     Assignee: Cocoon Developers Team

>
> 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>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to