cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Collen <colle...@umn.edu>
Subject Re: URL as parameter for cocoon
Date Thu, 15 Jan 2004 19:10:07 GMT
Ralph Goers wrote:

>Try http://some.domain?url=http://some.other.domain
>
>The url would then be obtained by
><map:generate src="{request-param:url}"/>
>
>
>  
>

Yes, but please be very very careful, and realize the implications of 
doing something like this, especially since anybody can type in whatever 
URL they want.


Tony


>-----Original Message-----
>From: Andreas Rittershofer [mailto:andreas@rittershofer.de]
>Sent: Thursday, January 15, 2004 10:54 AM
>To: users@cocoon.apache.org
>Subject: URL as parameter for cocoon
>
>
>I want to pass a URL in a URL as parameter for Cocoon:
>
>I want that in a URL similar to
>
>http://some.domain/url=http://some.other.domain
>
>(does the // in http://some.other.domain has do be encoded in some 
>way?)
>
>the parameter http://some.other.domain is passed as parameter to 
>sitemap.xmap:
>
><map:generate src="{1}"/> 
>and {1} gets the passed URL http://some.other.domain.
>
>Is this possible and if it is possible - how?
>
>I tried several things but it didn't work.
>
> 
>
>mfg ar
>--
>Selbstverantwortliches Lernen mit http://www.LmTM.de/
>*die* E-Learning-Plattform für Physik und Informatik!
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message