[Templates] URI Filter Issues

Mihai Bazon mihai@bazon.net
Mon, 19 Feb 2007 20:49:15 +0200


Nigel Metheringham wrote:
> So
>    [% "http://www.template-toolkit.org/" | uri %]
> gave
>     http://www.template-toolkit.org/
> now, with recent releases, it gives
>     http%3A%2F%2Fwww.template-toolkit.org%2F
>
> This latter escaped form will be treated as a local relative uri by
> browsers I have checked against.
>
> If we want a uri escape that is that aggressive, can it be put under a
> different name, and the existing uri be modded back to allow : and /
> characters through untouched...

$votes++

-M.