[ic] URL decoding problem

David Christensen david at endpoint.com
Fri Aug 26 15:28:23 UTC 2011


On Aug 26, 2011, at 10:19 AM, DB wrote:

> I have a scratch variable named return_url which contains this string in
> a 5.6.3 catalog:
> 
> http%3A%2F%2Fdomain.com%2Ftest.html
> 
> this does not work as a link. I want to change it so that it will.
> 
> I have tried:
> [filter decode_entities][scratch return_url][/filter]
> [filter op="urldecode"][scratch return_url][/filter]
> [filter urldecode][scratch return_url][/filter]
> 
> but none of these seems to have any effect. Am I missing something?


Filter doesn't interpolate by default, so you need to either:

[filter interpolate=1 op=…][scratch foo][/filter]

or

[scratch name=foo filter=… keep=1]

Regards,

David
--
David Christensen
End Point Corporation
david at endpoint.com







More information about the interchange-users mailing list