On Fri, Dec 23, 2005 at 08:26:41AM -0500, Darren Chamberlain wrote:
> * Randal L. Schwartz <merlyn at stonehenge.com> [2005/12/22 18:03]:
> > This is wrong:
> > 
> >     [% USE url('/foo/bar'); url(this = 'that' fred = 'flintstone') %]
> > 
> >     ==>
> > 
> >     /foo/bar?fred=flintstone&amp;this=that
> 
> This is because parameters are being joined with '&amp;' when they are
> emitted.  According to CVS, this has been the case since November 14,
> 2000.  I'll change it to join parameters with a plain &.

But not everyone uses CGI.pm.  I agree it's the wrong behaviour,
(although it's rare that I need to use the plugin and not place it in
a href) but it's documented that way and has been for a while.  Won't
that break existing code?

I'm using that plugin in a number of projects and expect it to be
already escaped.

-- 
Bill Moseley
[EMAIL PROTECTED]


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

Reply via email to