Re: [Catalyst] Escaping of argument of private path

2011-03-15 Thread Octavian Rasnita
From: John M. Dlugosz wxju46g...@snkmail.com Consider this TT fragment: [% fname = rec.filename | uri %] img src=[% c.uri_for(${directory}/${fname}) %] alt=photo / There is no reason to suppose that the filename following URL naming conventions, and may be something like ham

Re: [Catalyst] Escaping of argument of private path

2011-03-15 Thread John M. Dlugosz
On 3/15/2011 1:38 AM, Octavian Rasnita orasnita-at-gmail.com |Catalyst/Allow to home| wrote: uri_for() escapes each component, but I guess that it doesn't escape it if it contains a slash in it. For example, you can do: img src=[% c.uri_for('/static', 'ham and eggs.jpg').path %] It will

Re: [Catalyst] Unicode::Encoding - utf8 \xBA does not map to Unicode

2011-03-15 Thread ryan lauterbach
2011/3/13 Eisenberger Tamás ta...@eisenberger.hu: Actually I can't find a browser that encodes the 'é' incorrectly... Tested chrome dev, firefox stable, ie8... What browser does this for you? -- David said Safari worked for him. This is really weird, I would think Unicode is broken for

Re: [Catalyst] Escaping of argument of private path

2011-03-15 Thread Octavian Rasnita
From: John M. Dlugosz wxju46g...@snkmail.com On 3/15/2011 1:38 AM, Octavian Rasnita orasnita-at-gmail.com |Catalyst/Allow to home| wrote: uri_for() escapes each component, but I guess that it doesn't escape it if it contains a slash in it. For example, you can do: img src=[%

[Catalyst] Re: Escaping of argument of private path

2011-03-15 Thread Aristotle Pagaltzis
* John M. Dlugosz wxju46g...@snkmail.com [2011-03-15 08:10]: img src=[% c.uri_for(/static/gallery,rec.dirname,rec.filename) %] alt=photo / That works (using Smart_URI settings to leave off the host). But it did not escape out the '' in the filename! Is that a bug? No. It’s exactly the

[Catalyst] Catalyst

2011-03-15 Thread Duncan Garland
Hi, We upgraded Catalyst this morning. It's failed dismally. There's some sort of dependency or compatability problem. These won't install: - MooseX::MethodAttributes::Inheritable ...missing. (would need 0.24) - MooseX::Role::WithOverloading ...missing. (would need 0.09) There's

Re: [Catalyst] Catalyst

2011-03-15 Thread Justin Hunter
if the output is too large for the list, you can post it on a pastebin site and provide the list with the link (http://paste.scsys.co.uk/, for example) Justin On Tue, Mar 15, 2011 at 9:42 AM, Duncan Garland duncan.garl...@motortrak.com wrote: Hi, We upgraded Catalyst this morning. It’s

Re: [Catalyst] Catalyst

2011-03-15 Thread Andrew Rodland
Run package-stash-conflicts, it will probably tell you that you need to upgrade namespace::clean. Do that. :) Andrew ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive:

RE: [Catalyst] Catalyst

2011-03-15 Thread Duncan Garland
Couldn't find package-stash-conflicts, but I upgraded namespace::clean from CPAN. I was then able to install - MooseX::MethodAttributes::Inheritable - MooseX::Role::WithOverloading From CPAN. After that the makefile ran successfully. Thanks Duncan -Original Message- From: Andrew

[Catalyst] NULL search vs empty string search in C::C::DBIC::API

2011-03-15 Thread Seth Daniel
Hi, An interesting problem with Catalyst::Controller::DBIC::API (2.003001). Anyone else using it? A) This query string: search.no_arg=search.argA=1 will end up performing an SQL search like: no_arg = '' AND argA = 1. B) This query string: search.no_argsearch.argA=1 will end up performing an

Re: [Catalyst] Escaping of argument of private path

2011-03-15 Thread John M. Dlugosz
On 3/15/2011 4:56 AM, Octavian Rasnita orasnita-at-gmail.com |Catalyst/Allow to home| wrote: uri_for() escapes only the chars which are not in the following list (from URI.pm): $reserved = q(;/?:@=+$,[]); $mark = q(-_.!~*'());#'; emacs $unreserved

Re: [Catalyst] Re: Escaping of argument of private path

2011-03-15 Thread John M. Dlugosz
On 3/15/2011 6:03 AM, Aristotle Pagaltzis pagaltzis-at-gmx.de |Catalyst/Allow to home| wrote: * John M. Dlugoszwxju46g...@snkmail.com [2011-03-15 08:10]: img src=[% c.uri_for(/static/gallery,rec.dirname,rec.filename) %] alt=photo / That works (using Smart_URI settings to leave off the