[Catalyst] Re: generating and redirecting to pdfs

2009-10-24 Thread Aristotle Pagaltzis
* Jason Galea [2009-10-21 01:50]: > $c->res->header( 'Content-Disposition' => > 'attachment;filename='.$c->stash->{pdf_filename} ); This will break for filenames with spaces in them. For strict correctness, you want this: ( my $pdf_filename = $c->stash->{ pdf_filename } ) =~ s!"!\\"!g;

[Catalyst] Question about C:P:Unicode(::Encoding)

2009-10-24 Thread Bernhard Graf
These plugins hook into prepare_parameters() to decode data. Why does it leave query_- and body_parameters untouched? -- Bernhard Graf ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable

Re: [Catalyst] Question about C:P:Unicode(::Encoding)

2009-10-24 Thread Bill Moseley
On Sat, Oct 24, 2009 at 1:26 PM, Bernhard Graf wrote: > These plugins hook into prepare_parameters() to decode data. > > Why does it leave query_- and body_parameters untouched? > Always seemed like a bug to me. http://www.mail-archive.com/catalyst@lists.scsys.co.uk/msg02350.html http://www.mai

[Catalyst] Unicode in request captures

2009-10-24 Thread Bernhard Graf
While I am at encoding issues in Cat ... I filed a bug report together with patch and test about Unicode characters in request captures more than two weeks ago: https://rt.cpan.org/Public/Bug/Display.html?id=50339 It would be great if someone could care about it. ___

[Catalyst] Moose warning question

2009-10-24 Thread Bernhard Graf
I want to release a new version of Catalyst::ActionRole::Tabs, but without those irritating Moose warnings from the tests: Not inlining a destructor for TestApp since it defines its own destructor. Not inlining a destructor for TestChained since it defines its own destructor. Perhaps any of the M