cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pier Fumagalli (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COCOON-1663) o.a.c.transformation.EncodeURLTransformer doesn't work
Date Sun, 23 Oct 2005 23:32:03 GMT
     [ http://issues.apache.org/jira/browse/COCOON-1663?page=all ]

Pier Fumagalli updated COCOON-1663:
-----------------------------------

    Bugzilla Id:   (was: 33662)
    Description: 
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>

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

        Version: 2.2-dev

> o.a.c.transformation.EncodeURLTransformer doesn't work
> ------------------------------------------------------
>
>          Key: COCOON-1663
>          URL: http://issues.apache.org/jira/browse/COCOON-1663
>      Project: Cocoon
>         Type: Bug
>   Components: * Cocoon Core
>     Versions: 2.2-dev
>  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


Mime
View raw message