cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sully <stinky...@yahoo.com>
Subject Re: R: encoding url for reader / better ways pass strings to a reader?
Date Fri, 23 May 2003 07:27:14 GMT
please do post your code

you are correct in your examples, my problem is that if you match an 
encoded string and then pass that to the src it gets passed in as 
unencoded with no way (that I could find) to fix it.

Andrea Pierini wrote:
> I don't think it's a bug but a behaviour. What you put in the "src"
> argument of a component in the sitemap is non encoded, so if you put for
> example src="http://test/ /test" you get an error, while if you put
> src="http://test/%20/test" everything works fine. This is ok for files
> in the file system but not ok for files on the web.
> I've solved the problem writing a little action in java to encode the
> sitemap parameters if they are http urls. If someone is interested I can
> post the code.
> Bye
> Andrea Pierini 



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


Mime
View raw message