Re: [Catalyst] Bug in URI ?!

2006-09-10 Thread Jonathan Rockway
> That's right, the ampersands are not escaped. Technically, that is the > correct thing to do, but in a template which 99.9% of the time is for > HTML, e.g. [% c.uri_for('/foo', { page => 2, view => 'xml' } %] it's > almost certainly not what you want. > That's why there's the "HTML" filter i

Re: [Catalyst] Bug in URI ?!

2006-09-10 Thread Paul Makepeace
On 9/10/06, Ash Berlin <[EMAIL PROTECTED]> wrote: > Am I missing something, or does > > $c->uri_for( $path, @args?, \%query_values? ) > > not do what you are asking for? > > Or is the problem that any ampersands in there don't get escaped? That's right, the ampersands are not escaped. Technically

Re: [Catalyst] Bug in URI ?!

2006-09-10 Thread Ash Berlin
Paul Makepeace wrote: > [+catalyst] > > On 8/16/06, Matt S Trout <[EMAIL PROTECTED]> wrote: > >> Dominic Mitchell wrote: >> >>> David Dorward wrote: >>> Paul Makepeace wrote: > URI::_query::query_form() which makes query strings: > > $self->query(@quer

Re: [Catalyst] Bug in URI ?!

2006-09-10 Thread Paul Makepeace
[+catalyst] On 8/16/06, Matt S Trout <[EMAIL PROTECTED]> wrote: > Dominic Mitchell wrote: > > David Dorward wrote: > >> Paul Makepeace wrote: > >>> URI::_query::query_form() which makes query strings: > >>> > >>> $self->query(@query ? join('&', @query) : undef); > >>> > >>> Now as anyone in web s