>>>>> "Josh" == Josh Rosenbaum <[EMAIL PROTECTED]> writes:


Josh> Looking at the code, I think the url plugin url-encodes params. 
(Including non-safe html.) Here's the line that does the encoding:
Josh> $toencode=~s/([^a-zA-Z0-9_.-])/uc sprintf("%%%02x",ord($1))/eg;

yes, I looked at the code too.  The problem is that it inserts &amp;
between parameters, not & as it should.  So, it's not really returning
a URL: it's returning an HTML-entitized URL, which is one step too many
for my application.

If it gets fixed, you can always add "| html" and get what it
currently produces.  There's no off-the-shelf way to go the other way
though.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[email protected]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to