[Templates] URI Filter Issues
Nigel Metheringham
nigel.metheringham@dev.intechnology.co.uk
Mon, 19 Feb 2007 20:47:10 +0000
On 19 Feb 2007, at 20:17, Randal L. Schwartz wrote:
>>>>>> "Mihai" == Mihai Bazon <mihai@bazon.net> writes:
>
>>> 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...
>
> Mihai> $votes++
>
> You clearly don't understand the problem then, or what uri-escaping
> is about.
> This isn't about "voting". This is about *doing the right thing*.
>
> You *cannot* uri-escape a string that already has a path to it.
> You can only uri-escape the path steps.
There is a problem here that the TT Book (ie the Badger Book) at least,
and I think the TT Manual pages, uses the uri filter as something you
can apply to complete URLs, so a batch of existing practice (incorrect
true) was broken by the previous change.
Personally I am approaching this by building a new filter that does
what I want to complete (or partial) URLs.
Nigel.
--
[ Nigel Metheringham Nigel.Metheringham@InTechnology.co.uk ]
[ - Comments in this message are my own and not ITO opinion/policy - ]